2023-01-10 22:47:04 +01:00
|
|
|
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
|
2023-01-10 22:53:02 +01:00
|
|
|
{% set pages = page.collection()|filter(page => page.header.event.start is defined) %}
|
2023-01-10 23:35:08 +01:00
|
|
|
{% for p,v in pages.tags %}
|
|
|
|
{{ p }}
|
|
|
|
{{ v }}
|
2023-01-10 23:29:05 +01:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
2023-01-10 22:47:04 +01:00
|
|
|
{% if "events" in page.url %}
|
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:29:05 +01:00
|
|
|
{% for page,v 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
|
|
|
|
2023-01-10 20:13:33 +01:00
|
|
|
|
2023-01-10 22:53:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
2023-01-10 16:09:01 +01:00
|
|
|
{% if taxlist %}
|
2023-01-10 21:46:02 +01:00
|
|
|
<span class="tags">2
|
2023-01-10 16:09:01 +01: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 %}
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
2023-01-10 22:53:02 +01:00
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|