category list didn't display right

main
stuebinm 2022-01-05 23:48:10 +01:00
parent b35887d58a
commit 451ca603c2
2 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<main>
<h1>Categories</h1>
<p>
{% if terms %}
<ul>
{% for term in terms %}
@ -12,5 +12,6 @@
{% endfor %}
</ul>
{% endif %}
</p>
</main>
{% endblock content %}

View File

@ -4,9 +4,9 @@
{% block content %}
<h1>Posts in category "{{ term.name }}"</h1>
<p>
{% for page in term.pages %}
<p>
<h2><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h2>
{% endfor %}
</p>
{% endfor %}
{% endblock content %}