-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
25 lines (22 loc) · 1.02 KB
/
index.html
File metadata and controls
25 lines (22 loc) · 1.02 KB
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
---
layout: default
---
{% for post in paginator.posts %}
<article style="margin-bottom: 80px; border-bottom: 2px solid #eee; padding-bottom: 60px;">
{% include post-meta.html item=post is_list=true %}
<div class="post-content" style="line-height: 1.6; font-size: 1.1em; color: #222;">
{{ post.content }}
</div>
</article>
{% endfor %}
{% if paginator.total_pages > 1 %}
<nav class="pagination" style="text-align: center; margin-top: 40px; padding-bottom: 80px;">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | relative_url }}" style="color: #b03931; font-weight: bold; text-decoration: none; margin-right: 20px;">← Newer Articles</a>
{% endif %}
<span style="color: #888;">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | relative_url }}" style="color: #b03931; font-weight: bold; text-decoration: none; margin-left: 20px;">Older Articles →</a>
{% endif %}
</nav>
{% endif %}