This commit is contained in:
Daniel Hladek 2020-10-03 16:41:16 +02:00
parent 329551610e
commit a2f4f5aff4

View File

@ -12,7 +12,6 @@
{% set pages = taxonomy.findTaxonomy({'author': author}).order('date', 'desc') %} {% set pages = taxonomy.findTaxonomy({'author': author}).order('date', 'desc') %}
{% set tmplst = [] %} {% set tmplst = [] %}
<h2>{{ author }}</h2>
{% for page in pages %} {% for page in pages %}
{% set blisted = false %} {% set blisted = false %}
{% for bcat in blist %} {% for bcat in blist %}
@ -36,7 +35,7 @@
{% endif %} {% endif %}
<a href="{{p.url}}">{{ p.title|e }}</a> <a href="{{p.url}}">{{ p.title|e }}</a>
{% set catlist = [] %} {% set catlist = [] %}
{% for cat in page.taxonomy.category %} {% for cat in p.taxonomy.category %}
{% set catlist = catlist|merge(['<a href="'~base_url~'/taxonomy?name=category&amp;val='~(cat|url_encode)~'">'~cat~'</a>']) %} {% set catlist = catlist|merge(['<a href="'~base_url~'/taxonomy?name=category&amp;val='~(cat|url_encode)~'">'~cat~'</a>']) %}
{% endfor %} {% endfor %}
<span>{{ catlist|join(', ') }}</span> <span>{{ catlist|join(', ') }}</span>