-
- {% set jahr = "" %}
- {% set count = 1 %}
-
- Springe:
- {%- for post in collections.sekundaer -%}
- {% if count % 80 == 0 and jahr !== post.data.Jahr %}
-
{{ post.data.Jahr }}
- {% set jahr = post.data.Jahr %}
- {% endif %}
- {% set count = count + 1 %}
- {%- endfor -%}
-
+
+
+ Jahr
+
+
+
+
+
↑ nach oben
diff --git a/src/dynamic/theaterauffuehrungen.njk b/src/dynamic/theaterauffuehrungen.njk
index f0cc76d..362e5e5 100644
--- a/src/dynamic/theaterauffuehrungen.njk
+++ b/src/dynamic/theaterauffuehrungen.njk
@@ -24,7 +24,7 @@ eleventyNavigation:
Springe:
{%- for post in collections.theater -%}
- {% if count % 1 == 0 and jahr !== post.data.Jahr %}
+ {% if count % 3 == 0 and jahr !== post.data.Jahr %}
{{ post.data.Jahr }}
{% set jahr = post.data.Jahr %}
{% endif %}
diff --git a/src/layouts/base.njk b/src/layouts/base.njk
index f6bc38e..a217efd 100644
--- a/src/layouts/base.njk
+++ b/src/layouts/base.njk
@@ -1,18 +1,19 @@
-
+
-
{% if title and title != 'Home' %}{{title}} - {% endif %}{{ config.title }}
+
+ {% if title and title != 'Home' %}{{title}} - {% endif %}{{ config.title }}
{#
#}
-
-
+
+
@@ -48,13 +49,13 @@
mx-auto
flex flex-row">
- {{ title | safe }}
+ {{ title | safe }}
{{ content | safe }}
@@ -65,139 +66,177 @@