This commit is contained in:
Tobias Reisinger 2019-12-27 19:23:51 +01:00
commit c9def51b7e
38 changed files with 5755 additions and 0 deletions

View file

@ -0,0 +1,10 @@
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
{% if taxlist %}
<span class="tags">
{% for tax,value in taxlist[taxonomy] %}
{% set badge_class = uri.param(taxonomy) == tax ? 'badge-primary' : 'badge-secondary' %}
<a class="badge {{ badge_class }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">{{ tax }}</a>
{% endfor %}
</span>
{% endif %}