Umbau Ganztagsbereich (#292)
All checks were successful
Website Prod/Test / Produktivumgebung (push) Successful in 11s
Website Prod/Test / Testumgebung (push) Successful in 6s

- [x] Umbau von Bereich zu Hauptseite mit Kacheln
- [x] Aktualisierung für SJ 2025/2026
- [x] Aktualisierung in CMS-Konfiguration inkl. Vorschau

Reviewed-on: #292
This commit is contained in:
2024-09-16 21:34:24 +02:00
parent 8695df0533
commit f377ec7f25
42 changed files with 257 additions and 640 deletions

View File

@ -179,10 +179,17 @@
</div>
</div>
<div class="row justify-content-center">
{{ range first (int $data.homepage.ganztagsangebote.number) (where .Site.RegularPages "Type" "ganztagsangebote" | shuffle)}}
<div class="col-lg-4 col-sm-6">
{{ partial "ganztag" . }}
</div>
{{ with .Site.GetPage "/ganztagsangebote/_index.md" }}
{{ range first (int $data.homepage.ganztagsangebote.number) (.Params.tiles | shuffle) }}
<div class="col-lg-4 col-sm-6">
<div class="card border-primary rounded-0 hover-shadow mb-4">
<img class="card-img-top rounded-0" src="{{ .image | relURL }}">
<div class="card-body">
<h4 class="card-title text-truncate">{{ .title }}</h4>
</div>
</div>
</div>
{{ end }}
{{ end }}
</div>
</div>