forked from KEMT/zpwiki
zz
This commit is contained in:
parent
bed8aa6278
commit
9cca223d82
@ -12,13 +12,15 @@
|
||||
{% endif %}
|
||||
|
||||
{% for cat in catlist %}
|
||||
<h2> {{ cat }}</h2>
|
||||
{% set catpages = taxonomy.findTaxonomy({'author': author,'category':cat}).order('date', 'desc') %}
|
||||
<ul>
|
||||
{% for p in catpages %}
|
||||
<li><a href="{{p.url}}">{{ p.title|e }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% 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') %}
|
||||
|
Loading…
Reference in New Issue
Block a user