fix terminliste mobile
This commit is contained in:
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="upcoming">Anstehend</li>
|
||||||
<li class="list-inline-item m-3 text-uppercase" data-filter="past">Vergangen</li>
|
<li class="list-inline-item m-3 text-uppercase" data-filter="past">Vergangen</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="filtr-container row">
|
<div class="filtr-container row mx-auto">
|
||||||
{{ range .Params.events }}
|
{{ 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}}">
|
<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" . }}
|
{{ partial "termin" . }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user