Sync dev with main
All checks were successful
Website Dev / Entwicklungsumgebung (push) Successful in 18s

This commit is contained in:
2024-09-01 19:19:15 +02:00
181 changed files with 767 additions and 408 deletions

View File

@ -1 +1 @@
{{ return or (ge (.date | time.AsTime) now) (and .enddate (ge (.enddate | time.AsTime) now)) }}
{{ return and (not .hidden) (or (ge (.date | time.AsTime) now) (and .enddate (ge (.enddate | time.AsTime) now))) }}

View File

@ -9,10 +9,12 @@
</ul>
<div class="filter-container row mx-auto">
{{ range sort .Params.events ".date" }}
{{ if not .hidden }}
<div class="filter-item col-12" data-groups='{{if partial "data/termin-upcoming" .}}upcoming{{else}}past{{end}}'>
{{ partial "termin" . }}
</div>
{{ end }}
{{ end }}
<div class="filter-sizer col-1"></div>
</div>
</div>