This commit is contained in:
Daniel Hladek 2020-10-03 11:42:32 +02:00
parent d47730580e
commit c45eea33b8

View File

@ -12,8 +12,10 @@
{% set pages = taxonomy.findTaxonomy({'author': author}).order('date', 'desc') %}
{% set tmplst = [] %}
<ul>
{% for page in pages %}
{% set blisted = false %}
<li> {{ page}} </li>
{% for bcat in blist %}
{% if bcat in page.taxonomy["category"] %}
{% set blisted = true %}
@ -23,6 +25,7 @@
{% set tmplst = tmplst|merge([page]) %}
{% endif %}
{% endfor %}
</ul>
{% set pages = tmplst|slice(0,10) %}
<section class="topiclist">