neues theme: add blueprints.yaml

This commit is contained in:
teldra 2023-01-10 23:55:26 +01:00
parent 02f2f4e666
commit 1444dbba19

View File

@ -1,7 +1,7 @@
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
{% if base_url == page.url %}
{% if taxlist %}
<span class="tags">
<span class="tags">1
{% 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>
@ -17,7 +17,7 @@
{% set pages = page.collection()|filter(page => page.header.event.start is defined) %}
<span class="tags">
<span class="tags">2
{% for tax,value in taxlist[taxonomy] %}
{% for page in pages %}
{% if tax in page.taxonomy.tags %}