-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (23 loc) · 842 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
---
layout: default
---
<div class="home">
<ul class="post-list">
{% for post in site.posts %}
<li>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
{% if post.excerpt %}
<p class="post-content" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 360 }}</p>
{% endif %}
<p class="post-footer">
<span class="post-footers">发布于 {{ post.date | date: "%Y-%m-%d" }}</span>
<span class="separator">|</span>
<a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}#disqus_thread">留言 (0)</a>
</p>
</li>
{% endfor %}
</ul>
<p class="rss-subscribe">订阅 <a href="{{ "/feed.xml" | prepend: site.baseurl }}">RSS</a></p>
</div>