-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (36 loc) 路 969 Bytes
/
Copy pathindex.html
File metadata and controls
38 lines (36 loc) 路 969 Bytes
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
---
layout: default
---
{% for post in paginator.posts %}
<div>
<small class="post-info">{{ post.date | date: "%B %-d, %Y" }}</small>
<h1><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h1>
<small class="post-info">by {{ post.author | default: site.author }}</small>
{{ post.excerpt }}
<a href="{{ post.url | relative_url }}">[ Read ]</a>
</div>
<br />
{% endfor %}
<ul class="pagination">
<li>
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | relative_url }}">
<span class="previous"></span>
</a>
{% else %}
<span class="previous"></span>
{% endif %}
</li>
<li>
<span class="page_number ">{{ paginator.page }} of {{ paginator.total_pages }}</span>
</li>
<li>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | relative_url }}">
<span class="next"></span>
</a>
{% else %}
<span class="next"></span>
{% endif %}
</li>
</ul>