gcg-website/layouts/termine/list.html

24 lines
838 B
HTML
Raw Permalink Normal View History

2022-03-19 10:21:45 +01:00
{{ define "main" }}
2023-09-23 22:40:36 +02:00
<section class="section" data-pagefind-body>
2022-03-19 10:21:45 +01:00
<div class="container">
2023-07-30 09:53:00 +02:00
<ul class="list-inline text-center filter-controls mb-4">
<li class="list-inline-item m-3 text-uppercase active" data-filter="all">Alle</li>
<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="filter-container row mx-auto">
2024-03-24 16:11:29 +01:00
{{ range sort .Params.events ".date" }}
2024-08-16 20:51:08 +02:00
{{ if not .hidden }}
2024-03-24 16:11:29 +01:00
<div class="filter-item col-12" data-groups='{{if partial "data/termin-upcoming" .}}upcoming{{else}}past{{end}}'>
2023-07-30 09:53:00 +02:00
{{ partial "termin" . }}
2022-03-19 10:21:45 +01:00
</div>
2023-07-30 09:53:00 +02:00
{{ end }}
2024-08-16 20:51:08 +02:00
{{ end }}
<div class="filter-sizer col-1"></div>
2022-03-19 10:21:45 +01:00
</div>
</div>
</section>
{{ end }}