Adding code to support tags

Fixes #1
This commit is contained in:
Floyd Hightower
2021-07-23 12:24:51 -04:00
committed by José Guilherme Vanz
parent 7f8341ad1c
commit ba3949f07a
3 changed files with 42 additions and 0 deletions
+10
View File
@@ -8,6 +8,16 @@
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
</h1>
<span class="post-date">{{ article.locale_date }}</span>
{% if article.tags %}
<span class="post-tags">
Tags:
<ul>
{% for tag in article.tags %}
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
{% endfor %}
</ul>
</span>
{% endif %}
<p>
{{ article.summary }}
</p>