Suche (Geschwindikeit und Auswahlfeld)

This commit is contained in:
Simon Martens
2023-02-06 23:00:42 +01:00
parent ae2b1a7bcd
commit 1e24f763c1
7 changed files with 177 additions and 127 deletions

View File

@@ -24,7 +24,7 @@ eleventyNavigation:
<div class="hideifsearching">
Springe:&nbsp;&nbsp;
{%- for post in collections.theater -%}
{% if count % 1 == 0 and jahr !== post.data.Jahr %}
{% if count % 3 == 0 and jahr !== post.data.Jahr %}
<a class="underline decoration-dotted" href="#{{ post.data.Jahr }}">{{ post.data.Jahr }}</a>&nbsp;&nbsp;
{% set jahr = post.data.Jahr %}
{% endif %}