neues theme: add blueprints.yaml

This commit is contained in:
teldra 2023-01-10 22:36:34 +01:00
parent 3c7b8116af
commit 0e534c5766

View File

@ -1,4 +1,4 @@
{% set pages = page.collection() %}
{% if "events" in page.url %}
{% set filter = false %}
{% set filterstart = 0 %}
@ -15,6 +15,16 @@
<span class="tags">
{% for tax,value in taxlist_taxonomy %}
{% for page in pages %}
{% if page.tags contains tax %}
{% 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 %}
{% endfor %}
<a href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax|e('url') }}">{{ tax }}</a>
{% endfor %}
</span>