123456789101112 |
- {% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
- {% if taxlist %}
- {% for tax,value in taxlist[taxonomy] %}
- {% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
- <li class="cat">
- <a class="label label-rounded {{ label_class }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">
- {{ tax }}
- </a>
- </li>
- {% endfor %}
- {% endif %}
|