Adding code to support tags

Fixes #1
This commit is contained in:
Floyd Hightower authored and José Guilherme Vanz committed 2021-12-26 21:53:00 -03:00
1 parent 7f8341ad1c
commit ba3949f07a
3 files changed
+42

No files matched your search

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