gcg-website/layouts/about/list.html

40 lines
889 B
HTML
Raw Normal View History

2022-03-18 13:35:57 +01:00
{{ define "main" }}
{{ $data := index .Site.Data .Site.Language.Lang }}
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
{{ with .Params.Image }}
<img class="img-fluid w-100 mb-4" src="{{ . | relURL }}" alt="about image">
{{ end }}
{{ .Content }}
</div>
</div>
</div>
</section>
2023-01-14 17:31:54 +01:00
{{ if .Params.stats.enable }}
{{ with .Params.stats }}
2022-03-18 13:35:57 +01:00
<section class="section-sm bg-primary">
<div class="container">
<div class="row">
2023-01-14 17:31:54 +01:00
{{ range .zahlen }}
2022-03-18 13:35:57 +01:00
<div class="col-md-3 col-sm-6 mb-4 mb-md-0">
<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.html" . }}
{{ end }}