40 lines
1.1 KiB
HTML
Raw Normal View History

2022-06-18 17:32:32 +02:00
{{ define "main" }}
<section class="section">
<div class="container">
<div class="row">
{{ .Content }}
</div>
2022-10-28 19:48:20 +02:00
<div class="row gta-cat">
2022-06-18 17:32:32 +02:00
<div class="col-12">
<ul class="list-inline text-center filter-controls mb-5">
<li class="list-inline-item m-3 text-uppercase active" data-filter="all">{{ i18n "all" }}</li>
{{ $categories := slice }}
{{ range .Data.Pages }}
{{ $categories = $categories | append .Params.Category }}
{{ end }}
{{ range ( $categories | uniq ) }}
<li class="list-inline-item m-3 text-uppercase" data-filter="{{ . | urlize }}">{{ . | humanize }}</li>
{{ end }}
</ul>
</div>
</div>
2022-10-28 19:48:20 +02:00
<noscript>
<style>
.gta-cat {
display: none;
}
</style>
</noscript>
2022-06-18 17:32:32 +02:00
<div class="row filtr-container">
{{ range .Data.Pages }}
<div data-category="{{ .Params.Category | urlize }}" class="col-lg-4 col-sm-6 mb-5 filtr-item">
2022-06-20 20:33:12 +02:00
{{ .Render "begabtenfoerderung" }}
2022-06-18 17:32:32 +02:00
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}