This commit is contained in:
Daniel Hladek 2020-10-03 17:10:51 +02:00
parent bed8aa6278
commit 9cca223d82

View File

@ -12,13 +12,15 @@
{% endif %}
{% for cat in catlist %}
<h2> {{ cat }}</h2>
{% set catpages = taxonomy.findTaxonomy({'author': author,'category':cat}).order('date', 'desc') %}
{% if catpages|length > 0 %}
<h2> <a href="/categories/{{cat}}">{{ cat }} </a></h2>
<ul>
{% for p in catpages %}
<li><a href="{{p.url}}">{{ p.title|e }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
{% set pages = taxonomy.findTaxonomy({'author': author}).order('date', 'desc') %}