From d4ff89ef02b7e13235ceea34a05bcaee0f8d7800 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Thu, 2 Sep 2021 00:10:32 +0200 Subject: [PATCH] do not assume category exists --- templates/page.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/page.html b/templates/page.html index e68278b..4a5ec39 100644 --- a/templates/page.html +++ b/templates/page.html @@ -27,7 +27,8 @@ in {{ category }} {% endif %} {% if page.taxonomies.tags %} - and tagged + {% if page.taxonomies.categories %}and{% endif %} + tagged {% for tag in page.taxonomies.tags %} {{ tag }} {% if page.taxonomies.tags | length > 1 %} @@ -49,4 +50,3 @@ {% endblock content %} - -- 2.45.2