-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (28 loc) · 849 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
---
layout: default
title: To be free as in freedom
---
<div id="home">
<h1>日志:</h1>
<ul class="posts">
{% for post in paginator.posts %}
<li>
<span>{{ post.date | date_to_string }}</span> » <a href="{{ post.url }}">{{ post.title }}</a>
{{ post.excerpt }}
</li>
{% endfor %}
</ul>
</div>
<div class="pagination" style="text-align: center">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">上一页</a>
{% else %}
<span class="previous">上一页</span>
{% endif %}
<span class="page_number ">{{ paginator.page }} / {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">下一页</a>
{% else %}
<span class="next ">下一页</span>
{% endif %}
</div>