gcg-website/layouts/schulchronik/list.html
Denys Konovalov 14b1cce75f
All checks were successful
Website Prod/Test / Produktivumgebung (push) Successful in 19s
Website Prod/Test / Testumgebung (push) Successful in 8s
Implementierung Fachbereichsseiten (#305)
Schließt #182

Basis-Implementierung der Fachbereichsseiten mit Layout/Menüeinbindung, Inhalt aller Fächer, WoU-Seiten, Umstrukturierung der Begabtenförderung

Co-authored-by: GCG.Admin (Automatisiert) <admin@cantor-gymnasium.de>
Reviewed-on: #305
2024-11-22 09:01:19 +01:00

47 lines
1.2 KiB
HTML

{{ define "main" }}
<section class="section">
<div class="container">
<div class="content">
{{ .Content }}
</div>
</div>
{{ if .Params.infocard.enable }}
{{ with .Params.infocard }}
<div class="container">
<div class="card mb-3">
<div class="row g-0">
<div class="col-md-3">
<img src="{{ .image }}" class="img-fluid rounded w-100" alt="Georg Cantor">
</div>
<div class="col-md-9 d-flex align-items-center">
<div class="card-body">
<p class="h2 card-title">{{ .quote }}</p>
<p class="card-text"><small class="text-muted">{{ .author }}</small></p>
</div>
</div>
</div>
</div>
</div>
{{ end }}
{{ end }}
<div class="container">
<h2 class="mb-4">Informationsseiten</h2>
<div class="row">
{{ range .Params.links }}
{{ partial "card-btn" (dict "Title" .title "Permalink" .link) }}
{{ end }}
</div>
</div>
<div class="container">
<h2 class="mb-4">Chronik</h2>
<div class="row">
{{ range (where .Data.Pages "Params.type" "schulchronik") }}
{{ partial "card-btn" . }}
{{ end }}
</div>
</div>
</section>
{{ end }}