2023-01-10 22:47:04 +01:00
|
|
|
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
|
2023-01-10 23:45:00 +01:00
|
|
|
{% if base_url == page.url %}
|
2023-01-10 23:43:35 +01:00
|
|
|
{% if taxlist %}
|
|
|
|
<span class="tags">2
|
|
|
|
{% 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 %}
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if "news" not in page.url %}
|
2023-01-10 23:41:04 +01:00
|
|
|
{% set pages = page.collection()|filter(page => page.header.event.start is defined) %}
|
2023-01-10 23:39:35 +01:00
|
|
|
{% for p in pages %}
|
2023-01-10 23:42:05 +01:00
|
|
|
{% for l in p %}
|
|
|
|
{{ l }}
|
|
|
|
{% endfor %}
|
2023-01-10 23:29:05 +01:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
2023-01-10 22:13:15 +01:00
|
|
|
|
2023-01-10 23:14:43 +01:00
|
|
|
<span class="tags">
|
2023-01-10 22:47:04 +01:00
|
|
|
{% for tax,value in taxlist[taxonomy] %}
|
2023-01-10 23:36:22 +01:00
|
|
|
{% for page in pages %}
|
2023-01-10 23:13:56 +01:00
|
|
|
{% if tax in page.tags %}
|
2023-01-10 22:47:04 +01:00
|
|
|
{% 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>
|
|
|
|
{% endif %}
|
2023-01-10 22:22:38 +01:00
|
|
|
{% endfor %}
|
2023-01-10 22:47:04 +01:00
|
|
|
{% endfor %}
|
|
|
|
</span>
|
2023-01-10 22:04:21 +01:00
|
|
|
|
2023-01-10 16:09:01 +01:00
|
|
|
|
|
|
|
{% endif %}
|