forked from leopardpan/leopardpan.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·34 lines (30 loc) · 1.14 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
---
layout: default
---
<div class="main-post-list hidden">
<ol class="post-list">
{% for post in paginator.posts %}
<li>
<h2 class="post-list__post-title post-title"><a href="{{ post.url }}" title="访问 {{ post.title }}">{{ post.title }}</a></h2>
<p class="excerpt">{{ post.content | strip_html | strip_newlines | truncate: 250 }}…</p>
<div class="post-list__meta">
<time datetime="{{post.date | date: date_to_xmlschema}}" class="post-list__meta--date date">
<img src="/images/calendar.png" width="20px" />
{{ post.date | date: "%F"}}</time>
<div class = "tag-img-icon">
<img src="/images/tag-icon.svg" width="20px" />
</div>
<a href="/tags">
<div class = "post-list-icon-mate">
<span class="post-list__meta--tags-right">{{ post.tags }}</span>
</div>
<div class = "post-list-small-mate">
<a class="btn-border-small" href={{ post.url }}>阅读全文 » </a>
</div>
</div>
<hr class="post-list__divider" />
</li>
{% endfor %}
</ol>
{% include pagination.html %}
</div>