From 9ff16f6d45440ad1343362b323ca47ae99b629f4 Mon Sep 17 00:00:00 2001
From: Ekaitz Zarraga <ekaitz@elenq.tech>
Date: Thu, 3 Dec 2020 12:44:24 +0100
Subject: Add category support again

---
 themes/elenq/templates/article.html | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'themes/elenq/templates')

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 }}
-- 
cgit v1.2.3