2022-03-18 13:35:57 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
|
2023-06-11 21:13:11 +02:00
|
|
|
<section class="section">
|
2022-03-18 13:35:57 +01:00
|
|
|
<div class="container">
|
2023-04-19 22:44:06 +02:00
|
|
|
{{ .Content }}
|
|
|
|
</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">
|
2023-06-11 21:13:11 +02:00
|
|
|
<h2 class="mb-4">Informationsseiten</h2>
|
2023-04-19 22:44:06 +02:00
|
|
|
<div class="row">
|
|
|
|
{{ range .Params.links }}
|
2023-07-29 13:16:25 +02:00
|
|
|
{{ partial "card-btn" (dict "Title" .title "Permalink" .link) }}
|
2023-04-19 22:44:06 +02:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
|
|
|
<div class="container">
|
2023-06-11 21:13:11 +02:00
|
|
|
<h2 class="mb-4">Chronik</h2>
|
2022-06-05 14:04:16 +02:00
|
|
|
<div class="row">
|
2022-03-19 20:45:30 +01:00
|
|
|
{{ range (where .Data.Pages "Params.type" "schulchronik") }}
|
2023-07-29 13:16:25 +02:00
|
|
|
{{ partial "card-btn" . }}
|
2022-03-18 13:35:57 +01:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{ end }}
|