gcg-website/layouts/about/list.html

38 lines
831 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">
<h2 class="count text-white" data-count="{{ .count }}">0</h2>
<h5 class="text-white">{{ .name }}</h5>
</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 }}