-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (23 loc) · 734 Bytes
/
index.html
File metadata and controls
27 lines (23 loc) · 734 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
---
layout: default
---
<div class="blog-index">
{% assign index = true %}
{% for post in paginator.posts %}
{% assign content = post.content %}
<article>
{% include article_list_item.html %}
</article>
{% endfor %}
<div class="pagination">
<a href="/blog/archives">博客归档</a>
<a href="/blog/categories">分类</a>
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">上一页</a>
{% endif %}
<span class="page_number ">页码:{{ paginator.page }} / {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">更早</a>
{% endif %}
</div>
</div>