forked from KEMT/zpwiki
zz
This commit is contained in:
parent
329551610e
commit
a2f4f5aff4
@ -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&val='~(cat|url_encode)~'">'~cat~'</a>']) %}
|
{% set catlist = catlist|merge(['<a href="'~base_url~'/taxonomy?name=category&val='~(cat|url_encode)~'">'~cat~'</a>']) %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<span>{{ catlist|join(', ') }}</span>
|
<span>{{ catlist|join(', ') }}</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user