gcg-website/themes/educenter-hugo/layouts/cantorpreis/list.html

35 lines
1.1 KiB
HTML
Raw Normal View History

2020-07-09 17:43:11 +02:00
{{ define "main" }}
2020-07-14 09:15:47 +02:00
<!-- teachers -->
2020-07-09 17:43:11 +02:00
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
2020-07-14 09:15:47 +02:00
<!-- 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> -->
2020-07-09 17:43:11 +02:00
</div>
</div>
2020-07-14 09:15:47 +02:00
<!-- teacher list -->
<div class="row filtr-container">
2020-07-09 17:43:11 +02:00
<!-- teacher -->
2020-07-14 09:15:47 +02:00
{{ range .Data.Pages }}
<div data-category="{{ .Params.Course | urlize }}" class="col-lg-4 col-sm-6 filtr-item">
{{ .Render "cantorpreis" }}
2020-07-09 17:43:11 +02:00
</div>
{{ end }}
</div>
</div>
</section>
2020-07-14 09:15:47 +02:00
<!-- /teachers -->
2020-07-09 17:43:11 +02:00
2020-07-14 09:15:47 +02:00
{{ end }}