This commit is contained in:
Daniel Hladek 2020-10-03 16:39:26 +02:00
parent d83bab6465
commit 329551610e

View File

@ -35,6 +35,11 @@
<li class="text">
{% endif %}
<a href="{{p.url}}">{{ p.title|e }}</a>
{% set catlist = [] %}
{% for cat in page.taxonomy.category %}
{% set catlist = catlist|merge(['<a href="'~base_url~'/taxonomy?name=category&amp;val='~(cat|url_encode)~'">'~cat~'</a>']) %}
{% endfor %}
<span>{{ catlist|join(', ') }}</span>
</li>
{% endfor %}
</ul>