From 1174a869f39bb7762473e4b37172e363e763849a Mon Sep 17 00:00:00 2001 From: manetta Date: Tue, 22 Oct 2019 22:17:33 +0200 Subject: [PATCH] also fixed the broken category links in the article view --- themes/varia/templates/article.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/themes/varia/templates/article.html b/themes/varia/templates/article.html index 576d004..7fea206 100644 --- a/themes/varia/templates/article.html +++ b/themes/varia/templates/article.html @@ -69,7 +69,11 @@ {% if article.category %} - {{ article.category }} + {% if DEFAULT_LANG == 'en' %} + {{ article.category }} + {% elif DEFAULT_LANG == 'nl' %} + {{ article.category }} + {% endif %} {% endif %} @@ -78,7 +82,11 @@ {{ glob.related_to }} {% for tag in article.tags %} - + {% if DEFAULT_LANG == 'en' %} + + {% elif DEFAULT_LANG == 'nl' %} + + {% endif %} {% endfor %}