grav-theme-libretic/templates/partials/taxonomylist.html.twig
2015-02-18 16:14:33 -07:00

12 lines
310 B
Twig

{% set taxlist = taxonomylist.get() %}
{% if taxlist %}
<ul class="archives">
{% for tax,value in taxlist[taxonomy] %}
<li>
<a href="{{ base_url }}/tag{{ config.system.param_sep }}{{ tax|e('url') }}">{{ tax }} <span>({{ tax|length }})</span></a>
</li>
{% endfor %}
</ul>
{% endif %}