-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (32 loc) · 822 Bytes
/
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
---
layout: default
---
<div class="blog-index">
{% for post in paginator.posts %}
{% include post.html %}
{% endfor %}
<div id="post-pagination" class="pagination">
{% if paginator.previous_page %}
<p class="previous">
{% if paginator.previous_page == 1 %}
<a href="/">← More Recent</a>
{% else %}
<a href="/page{{paginator.previous_page}}">← More Recent</a>
{% endif %}
</p>
{% else %}
<p class="previous disabled">
<span>More Recent</span>
</p>
{% endif %}
{% if paginator.next_page %}
<p class="next">
<a href="/page{{paginator.next_page}}">Older →</a>
</p>
{% else %}
<p class="next disabled">
<span>Older</span>
</p>
{% endif %}
</div>
</div>