13 lines
533 B
Twig
Raw Normal View History

2019-04-02 19:54:29 +02:00
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
{% if taxlist %}
<span class="tags">
2019-04-05 00:19:26 +02:00
<a class="" href="#">Tous</a>
2019-04-02 19:54:29 +02:00
{% for tax,value in taxlist[taxonomy] %}
{% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
<a class="label label-rounded {{ label_class }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">{{ tax }}</a>
{% endfor %}
2019-04-05 00:19:26 +02:00
<a class="" href="#">Achives</a>
2019-04-02 19:54:29 +02:00
</span>
{% endif %}