fix terminliste mobile
All checks were successful
website-main / prod-build (push) Successful in 1m37s
website-main / test-build (push) Successful in 1m18s
website-main / auto-rebuild (push) Has been skipped

This commit is contained in:
Denys Konovalov 2023-09-21 08:12:21 +02:00
parent cd2940be2a
commit 9728ca4e45

@ -7,7 +7,7 @@
<li class="list-inline-item m-3 text-uppercase" data-filter="upcoming">Anstehend</li>
<li class="list-inline-item m-3 text-uppercase" data-filter="past">Vergangen</li>
</ul>
<div class="filtr-container row">
<div class="filtr-container row mx-auto">
{{ range .Params.events }}
<div class="filtr-item col-12" data-category="{{ if or (ge (.date | time.AsTime).Unix now.Unix) (and .enddate (ge (.enddate | time.AsTime).Unix now.Unix)) }}upcoming{{else}}past{{end}}" data-time="{{.date}}">
{{ partial "termin" . }}