From 451ca603c2775dab8c51a64b11df56fe1b99f1f0 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Wed, 5 Jan 2022 23:48:10 +0100 Subject: [PATCH] category list didn't display right --- templates/categories/list.html | 3 ++- templates/categories/single.html | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/categories/list.html b/templates/categories/list.html index 56ae338..1394c85 100644 --- a/templates/categories/list.html +++ b/templates/categories/list.html @@ -4,7 +4,7 @@

Categories

- +

{% if terms %}

{% endif %} +

{% endblock content %} diff --git a/templates/categories/single.html b/templates/categories/single.html index 40ef984..69133a4 100644 --- a/templates/categories/single.html +++ b/templates/categories/single.html @@ -4,9 +4,9 @@ {% block content %}

Posts in category "{{ term.name }}"

-

{% for page in term.pages %} +

{{ page.title }}

- {% endfor %}

+ {% endfor %} {% endblock content %}