summaryrefslogtreecommitdiff
path: root/themes/elenq/templates
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-12-03 12:44:24 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-12-03 12:44:24 +0100
commit9ff16f6d45440ad1343362b323ca47ae99b629f4 (patch)
tree005304920921dacf7787770d0989519e942fa6ba /themes/elenq/templates
parent449330ba19c67aca4edc240d036febb01e0fe148 (diff)
Add category support again
Diffstat (limited to 'themes/elenq/templates')
-rw-r--r--themes/elenq/templates/article.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/elenq/templates/article.html b/themes/elenq/templates/article.html
index a2b5635..07d5470 100644
--- a/themes/elenq/templates/article.html
+++ b/themes/elenq/templates/article.html
@@ -36,6 +36,11 @@
{% endfor %}
</address>
{% endif %}
+ {% if article.category != "misc" %}
+ <div class="category">
+ Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
+ </div>
+ {% endif %}
</footer><!-- /.post-info -->
<div class="entry-content">
{{ article.content }}