diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-12-03 12:44:24 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-12-03 12:44:24 +0100 |
commit | 9ff16f6d45440ad1343362b323ca47ae99b629f4 (patch) | |
tree | 005304920921dacf7787770d0989519e942fa6ba /themes/elenq | |
parent | 449330ba19c67aca4edc240d036febb01e0fe148 (diff) |
Add category support again
Diffstat (limited to 'themes/elenq')
-rw-r--r-- | themes/elenq/templates/article.html | 5 |
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 }} |