forked from tg123/commandlinefu.cn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (31 loc) · 1020 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
---
layout: default
title: commandlinefu.cn
---
<div class="list-group">
{% for post in paginator.posts %}
<a href="{{ post.url }}" class="list-group-item">
<h4 class="list-group-item-heading">{{ post.title }}</h4>
<p class="list-group-item-text">
<code>
{{ post.command }}
</code>
</p>
</a>
{% endfor %}
</ul>
</div>
{% if paginator.total_pages > 1 %}
<ul class="pager">
{% if paginator.previous_page %}
<li class="previous"><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">← 上一页</a></li>
{% else %}
<li class="previous disabled"><a href="javascript:;">← 上一页</a></li>
{% endif %}
{% if paginator.next_page %}
<li class="next"><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">下一页 »</a></li>
{% else %}
<li class="next disabled"><a href="javascript:;">下一页 »</a></li>
{% endif %}
</ul>
{% endif %}