Add simple date, tags to posts.
This commit is contained in:
parent
feefd1f4d5
commit
189a94c930
3 changed files with 64 additions and 7 deletions
|
@ -29,7 +29,19 @@
|
|||
<div class="content">
|
||||
<article class="post">
|
||||
<h2 class="post-title">{{ title }}</h2>
|
||||
{{ content | safe }}
|
||||
<div class="post-metadata">
|
||||
<time datetime="{{ post_publication_date }}">
|
||||
{{ post_publication_date }}
|
||||
</time>
|
||||
<ul class="post-tags">
|
||||
{% for post_tag in post_tags %}
|
||||
<li class="post-tag">{{ post_tag }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="post-content">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue