-
Notifications
You must be signed in to change notification settings - Fork 6
/
post.html
27 lines (25 loc) · 851 Bytes
/
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
{% extends 'base.html' %}
{% block title %}{{ post.title }}{% endblock %}
{% block content %}
<div class="container_16 clearfix">
<div class="grid_10" id="content">
<div class="post nopost">
<h1 class="entry_title"><a href="{{post.url}}">{{ post.title }}</a></h1>
<div class="date">于 {{ post.date | date("%Y") }} 年 {{ post.date | date("%m") }} 月 {{ post.date | date("%d") }} 日</div>
<div class="post_body">
{{ post.content }}
</div>
<div class="info">
{% if post.tags %}
<span class="tags">
{% for tag in post.tags %}
<a href="/tags/{{ tag }}"># {{ tag }}</a>
{% endfor %}
</span>
{% endif %}
</div>
</div>
{% include 'include/comments.html' %}
</div>
</div>
{% endblock %}