-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (42 loc) · 996 Bytes
/
index.html
File metadata and controls
44 lines (42 loc) · 996 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
39
40
41
42
43
44
---
layout: default
title: "Wtaps's Blog"
---
<!-- Loop output paged posts -->
{% for post in paginator.posts %}
<h2>
<a href="{{ post.url }}">
{{ post.title }}
</a>
<div class="post-date">
<span class="glyphicon glyphicon-time"></span>
{{ post.date | date_to_string }}
</div>
</h2>
<hr>
{{ post.excerpt }}
<p> <a href="{{ post.url }}"><span >阅读全文 » </span></a></p>
<hr>
{% endfor %}
<!-- Pager indicator -->
<ul class="pager">
{% if paginator.previous_page %} {% if paginator.previous_page == 1 %}
<li class="previous">
<a href="{{ site.url }}/">
← Older
</a>
</li>
{% else %}
<li class="previous">
<a href="{{ site.url }}/page{{ paginator.previous_page }}">
← Older
</a>
</li>
{% endif %} {% endif %} {% if paginator.next_page %}
<li class="next">
<a href="{{ site.url }}/page{{ paginator.next_page }}">
Newer →
</a>
</li>
{% endif %}
</ul>