-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (36 loc) · 975 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
36
37
38
39
40
---
layout: default
---
<ul class="list pl0">
{% for post in paginator.posts %}
<li class="pv3">
{% include post-meta.html post=post %}
</li>
{% endfor %}
</ul>
<!-- Pagination links -->
{% if paginator.total_pages > 1 %}
<div class="flex items-center justify-between">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | relative_url }}">
<i class="fas fa-caret-left v-mid ph1"></i>Previous
</a>
{% else %}
<span class="black-30">
<i class="fas fa-caret-left v-mid ph1"></i>Previous
</span>
{% endif %}
<span class="gray">
Page: {{ paginator.page }} of {{ paginator.total_pages }}
</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | relative_url }}">
Next<i class="fas fa-caret-right v-mid ph1"></i>
</a>
{% else %}
<span class="black-30">
Next<i class="fas fa-caret-right v-mid ph1"></i>
</span>
{% endif %}
</div>
{% endif %}