-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpost.html
More file actions
executable file
·51 lines (48 loc) · 1.37 KB
/
post.html
File metadata and controls
executable file
·51 lines (48 loc) · 1.37 KB
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
---
layout: default
---
<!-- Navi -->
{% for cat in site.all_categories %}{% if page.category == cat[0] %}<a href="/">首页</a> > <a href="{{cat[2]}}">{{cat[1]}}</a> > 正文{% endif %}{% endfor %}
<!-- Title -->
<h2>{{ page.title }}</h2>
{% if page.tags.size > 0%}<b>标签:</b>{% for tag in page.tags %}{% if tag != "" %}<a href="/tags.html#{{ tag }}"><i>{{ tag
}}</i></a>{% if forloop.index != page.tags.size %}, {% endif %}{% endif %}{% endfor %}{% endif %}
<div class="post-date">
<span class="glyphicon glyphicon-time"></span>
{{ page.date | date:"%Y-%m-%d" }}
</div>
<br/>
<!-- content -->
<div style="text-indent:2em;">
{{ content }}
</div>
<br/>
<b>原创文章,转载请注明出处!</b>
<br/>
<b>本文链接:</b><a href="{{site.url}}{{page.url}}" title="{{page.name}}">{{site.url}}{{page.url}}</a>
<!-- next and previous -->
<div style="margin-top:15px; margin-bottom:10px">
{%if page.previous%}
<span class="next">
上篇:
<a href="{{page.previous.url}}">
{{page.previous.title}}
</a>
</span>
{%endif%}
{%if page.next%}
<div style="float:right">
<span class="prev">
下篇:
<a href="{{page.next.url}}">
{{page.next.title}}
</a>
</span>
</div>
{%endif%}
</div>
<hr>
<!-- Blog Comments -->
<!--<div class="media">-->
<!--{% include comment.html %}-->
<!--</div>-->