-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathindex.html
63 lines (47 loc) · 1.69 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: page
description: "江湖无名 安心练剑"
---
<style>
.index-post-title {
font-size: 34px;
}
</style>
<div class="home col-xs-12">
<ul class="post-list col-xs-12">
{% for post in paginator.posts %}
{% if post.stick == true %}
<li>
<a class="index-post-title post-link my-a cursor" href="{{ post.url | prepend: site.baseurl }}">{{
post.title }}</a>
<div class="post-content-preview text-muted">
{{ post.content | strip_html | truncate:200 }}
</div>
<span class="post-item-time f12">
{{ post.date | date: "%Y-%m-%d %H:%M:%S" }} |
<a class="my-a" href="/categories/#{{ post.categories }}">{{ post.categories }}</a> |
<i class="fa fa-fw fa-bookmark" title="stick"></i>
</span>
</li>
<div class="my-hr"></div>
{% endif %}
{% endfor %}
{% for post in paginator.posts %}
{% if post.stick != true %}
<li>
<a class="index-post-title post-link my-a cursor" href="{{ post.url | prepend: site.baseurl }}">{{
post.title }}</a>
<div class="post-content-preview text-muted">
{{ post.content | strip_html | truncate:200 }}
</div>
<span class="post-item-time f12">
{{ post.date | date: "%Y-%m-%d %H:%M:%S" }} |
<a class="my-a" href="/categories/#{{ post.categories }}">{{ post.categories }}</a>
</span>
</li>
{% endif %}
<div class="my-hr"></div>
{% endfor %}
{% include paginator-limit.html %}
</ul>
</div>