gcg-website/themes/educenter-hugo/layouts/cantorpreis/list.html
2020-07-14 09:15:47 +02:00

35 lines
1.1 KiB
HTML

{{ define "main" }}
<!-- teachers -->
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
<!-- teacher category list -->
<!-- <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.Course }}
{{ end }}
{{ range ( $categories | uniq ) }}
<li class="list-inline-item m-3 text-uppercase" data-filter="{{ . | urlize }}">{{ . | humanize }}</li>
{{ end }} -->
<!-- </ul> -->
</div>
</div>
<!-- teacher list -->
<div class="row filtr-container">
<!-- teacher -->
{{ range .Data.Pages }}
<div data-category="{{ .Params.Course | urlize }}" class="col-lg-4 col-sm-6 filtr-item">
{{ .Render "cantorpreis" }}
</div>
{{ end }}
</div>
</div>
</section>
<!-- /teachers -->
{{ end }}