forked from supernarsi/jeklly-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (37 loc) · 1.2 KB
/
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
38
39
40
---
layout: home
---
<div class="index_content blog insert">
<div class="section">
<ul class="article_cate">
<li class="on"><a href="/"><span>首页</span></a></li>
<li style="text-align:center"><a href="/category.html"><span>归档</span></a></li>
<li style="text-align:right;float:right;"><a href="/about.html"><span>关于</span></a></li>
</ul>
<div class="cate_bar"><span id="cateBar"></span></div>
<ul class="article_list">
{% for post in paginator.posts %}
<li class="jquery_pages">
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
<div class="title_desc">{{ post.description }}</div>
</li>
{% endfor %}
</ul>
</div>
<div class="aside">
</div>
</div>
<!-- Pagination links -->
<div class="pagination">
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<span class="current_page">{{page}}</span>
{% else %}
{% if page == 1 %}
<a href="/" class="pages">{{page}}</a>
{% else %}
<a href="/page{{page}}" class="pages">{{page}}</a>
{% endif %}
{% endif %}
{% endfor %}
</div>