Add simple date, tags to posts.

This commit is contained in:
Sergio Martínez Portela 2022-07-25 17:58:58 +02:00
parent feefd1f4d5
commit 189a94c930
3 changed files with 64 additions and 7 deletions

View file

@ -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>