gcg-website/layouts/about/list.html

38 lines
839 B
HTML
Raw Normal View History

2022-03-18 13:35:57 +01:00
{{ define "main" }}
2023-09-23 22:40:36 +02:00
<main data-pagefind-body>
2023-06-11 21:13:11 +02:00
<section class="section">
2022-03-18 13:35:57 +01:00
<div class="container">
{{ with .Params.image }}
<img class="img-fluid w-100 mb-4" src="{{ . | relURL }}" alt="Foto der Schule">
{{ end }}
<div class="content text-justify">
{{ .Content }}
2022-03-18 13:35:57 +01:00
</div>
</div>
</section>
2023-01-14 17:31:54 +01:00
{{ if .Params.stats.enable }}
{{ with .Params.stats }}
2023-06-11 21:13:11 +02:00
<section class="section bg-primary">
2022-03-18 13:35:57 +01:00
<div class="container">
<div class="row">
2023-01-14 17:31:54 +01:00
{{ range .zahlen }}
<div class="col-md-4 col-sm-6 mb-4 mb-md-0">
2022-03-18 13:35:57 +01:00
<div class="text-center">
2024-10-23 21:57:59 +02:00
<h2 class="count text-secondary" data-count="{{ .count }}">0</h2>
<h5 class="text-secondary">{{ .name }}</h5>
2022-03-18 13:35:57 +01:00
</div>
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}
{{ end }}
{{ partial "info" . }}
2023-09-23 22:40:36 +02:00
</main>
2022-03-18 13:35:57 +01:00
{{ end }}