-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (62 loc) · 2.22 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
layout: default
---
<div id="content" class="clearfix">
{% for rpost in paginator.posts %}
<article class="entry">
<header class="entry-header">
<h3 class="entry-title">
<a href="{{ rpost.url }}" title="{{ rpost.title }}" rel="bookmark">{{ rpost.title }}</a>
</h3>
<div class="entry-meta">
<time class="entry-date" pubdate="{{ rpost.date }}">{{ rpost.date | date: "%Y/%m/%d" }}</time>
{% unless rpost.categories == empty %}
|
{% for cate in rpost.categories %}
<a href="/categories.html#{{ cate }}">{{ cate}}</a>
{% endfor %}
{% endunless %}
{% unless rpost.tags == empty %}
| <i class="tag-icon"></i>
{% for tag in rpost.tags %}
<a href="/tags.html#{{ tag }}">{{ tag}}</a>
{% endfor %}
{% endunless %}
</div>
</header>
<div class="entry-content clearfix">
<!-- {{ rpost.content | split:'' |first }} -->
{{ rpost.excerpt }}
--- more ---
<p class="read-more">
<a href="{{ rpost.url }}" title="Read More" rel="nofollow" class="more-link">
<span>➥</span>ReadMore
</a>
</p>
</div>
</article>
{% endfor %}
{% if paginator.total_pages > 1 %}
<nav id="pagination">
<ul class="pagination">
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<li class="current"><a href="javascript:void(0);">{{ page }}</a></li>
{% else %}
<li><a href="/{%if page > 1 %}page{{ page }}/{% endif %}">{{ page }}</a></li>
{% endif %}
{% endfor %}
</ul>
</nav>
{% endif %}
</div>
<div id="sidebar">
{% include aside_category.html %}
{% include aside_tags.html %}
{% include aside_toppost.html %}
{% include aside_comment.html %}
{% include aside_visitors.html %}
{% include aside_links.html %}
{% include aside_social.html %}
{% include aside_ad.html %}
</div>