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