Schulchronik Vollständig

This commit is contained in:
Denys Konovalov
2020-08-07 21:08:46 +02:00
parent 6d43177e14
commit b25868cc01
942 changed files with 88069 additions and 83 deletions

View File

@ -1,20 +1,24 @@
{{ define "main" }}
<!-- schulchronik -->
<!-- content -->
<section class="section">
<div class="container">
<!-- course list -->
<div class="row">
<div class="col-12">
{{ .Content }}
</div>
</div>
</div>
<div class="container">
<div class="row filtr-container">
<!-- course item -->
{{ range .Data.Pages }}
<div class="col-lg-4 col-sm-6 mb-5">
{{ .Render "schulchronik" }}
</div>
{{ end }}
</div>
<!-- /course list -->
</div>
</section>
<!-- /courses -->
<!-- /content -->
{{ end }}

View File

@ -22,12 +22,12 @@
{{ if .Params.Cantorpreisträger }}
<div class="col-12">
<h2 class="mb-3">{{ i18n "cantorpreisträger" }}</h2>
{{ range where .Site.RegularPages "Title" (.Params.Cantorpreisträger | title) }}
{{ range where (where .Site.RegularPages "Title" .Params.Title ) "Type" "=" "cantorpreis" }}
<div class="d-flex justify-content-between align-items-center flex-wrap">
<div class="media mb-2 mb-sm-0 align-items-center">
<img class="mr-4 img-fluid teacher-thumb-sm" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
<div class="media-body">
<h4 class="mt-0"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<h4 class="mt-0"><a href="{{ .Permalink }}">{{ .Params.Name }}</a></h4>
{{ .Description }}
</div>
</div>