forked from johno/pixyll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (47 loc) · 1.42 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
layout: default
title: Latest
image: /images/rish.jpeg
pagination:
enabled: true
title: "Articles Page :num"
---
{% assign posts_count = paginator.posts | size %}
<div class="home">
{% if posts_count > 0 %}
<div class="posts" id="all-posts-container">
{% for post in paginator.posts %}
<div class="post py3">
<p class="post-meta">
{% if site.date_format %} {{ post.date | date: site.date_format }} {%
else %} {{ post.date | date: "%b %-d, %Y" }} {% endif %}
</p>
<a href="{{ post.url | relative_url }}" class="post-link">
<h3 class="h1 post-title">{{ post.title }}</h3>
</a>
<!-- <span class="post-summary">
{% if post.summary %} {{ post.summary }} {% else %} {{ post.excerpt }}
{% endif %}
</span> -->
<article class="post-content">
{{ post.content }}
</article>
{% if site.show_sharing_icons %} {% include share_buttons_home.html %} {%
endif %}
</div>
{% endfor %}
</div>
<div id="scroll-loader">
<div class="loading-dots">
<div class="loading-dots--dot"></div>
<div class="loading-dots--dot"></div>
<div class="loading-dots--dot"></div>
</div>
</div>
<!-- {% include pagination.html %} -->
{% else %}
<h1 class="center">{{ site.text.index.coming_soon }}</h1>
{% endif %}
</div>
<script defer src="js/functions.js"></script>
<script defer src="js/scroll.js"></script>