first commit

This commit is contained in:
2024-05-07 14:12:27 +02:00
commit 810bdaff55
42 changed files with 19595 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{# Customized from taxonomylist plugin #}
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
{% set limit = 20 %} {# show only the first x items #}
{% set treshold = 1 %} {# at least this number of times used #}
{% if taxlist %}
<span class="tags">
{% set i = 0 %}
{% for tax,value in taxlist[taxonomy] if (((limit is not defined) or (i < limit)) and (treshold is not defined or (value >= treshold))) %}
{% set active = uri.param(taxonomy) == tax? 'active' : '' %}
<a class="{{ active }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">{{ tax }} ({{ value }})</a>
{% set i = i + 1 %}
{% endfor %}
</span>
{% endif %}