-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.html
38 lines (38 loc) · 1.04 KB
/
post.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
---
layout: default
---
<section class="meta">
<span class="time">
<time datetime="{{ page.date | date:"%Y-%m-%d" }}">{{ page.date | date:"%Y-%m-%d" }}</time>
</span>
{% if page.categories.size != 0 %}
|
<span class="categories">
分类
{% for cat in page.categories %}
<a href="/categories/#{{ cat }}" title="{{ cat }}">{{ cat }}</a>
{% endfor %}
</span>
{% endif %}
{% if page.tags.size != 0 %}
|
<span class="tags">
标签
{% for tag in page.tags %}
<a href="/tags/#{{ tag }}" title="{{ tag }}">{{ tag }}</a>
{% endfor %}
</span>
{% endif %}
</section>
<section class="post">
{{ content }}
</section>
<section align="right">
<br/>
<span>
<a {% if page.previous %} href="{{ page.previous.url }}" class="pageNav"{% endif %} {% unless page.previous %} class="pageNavInvalid" {% endunless %} >上一篇</a>
<a {% if page.next %} href="{{ page.next.url }}" class="pageNav"{% endif %} {% unless page.next %} class="pageNavInvalid" {% endunless %} >下一篇</a>
</span>
</section>
{% include comments.md %}