2022-06-18 17:32:32 +02:00
|
|
|
{{ define "main" }}
|
|
|
|
|
|
|
|
<section class="section-sm">
|
|
|
|
<div class="container">
|
2022-06-20 20:33:12 +02:00
|
|
|
{{ if .Params.Image }}
|
2022-06-18 17:32:32 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 mb-4">
|
|
|
|
<img style="height: 500px;width: 100%;object-fit: cover;" src="{{ .Params.Image | relURL }}"
|
|
|
|
class="img-fluid w-100">
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-20 20:33:12 +02:00
|
|
|
{{ end }}
|
2022-06-18 17:32:32 +02:00
|
|
|
<div class="row align-items-center mb-5">
|
|
|
|
<div class="col-xl-6 order-sm-3 order-xl-2 col-12 order-2">
|
|
|
|
<ul class="list-inline">
|
|
|
|
<li class="list-inline-item mr-4 mb-3 mb-sm-0">
|
|
|
|
<div class="d-flex align-items-center">
|
2023-02-08 15:49:01 +01:00
|
|
|
<i class="mdi mdi-crowd text-primary icon-md mr-2"></i>
|
2022-06-18 17:32:32 +02:00
|
|
|
<div class="text-left">
|
|
|
|
<h6 class="mb-0">{{ i18n "class" | upper }}</h6>
|
|
|
|
<p class="mb-0">{{ .Params.Class }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2022-06-20 20:33:12 +02:00
|
|
|
{{ if .Params.Web_url }}
|
2022-06-18 17:32:32 +02:00
|
|
|
<div class="col-xl-3 text-sm-right text-left order-sm-2 order-3 order-xl-3 col-sm-6 mb-4 mb-xl-0">
|
|
|
|
<a href="{{ .Params.Web_url | safeURL }}" class="btn btn-primary">{{ i18n "website" }}</a>
|
|
|
|
</div>
|
2022-06-20 20:33:12 +02:00
|
|
|
{{ end }}
|
2022-06-18 17:32:32 +02:00
|
|
|
<div class="col-12 mt-4 order-4">
|
|
|
|
<div class="border-bottom border-primary"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 mb-4 content">
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="section pt-0">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12">
|
2022-06-20 20:33:12 +02:00
|
|
|
<h2 class="section-title">{{ i18n "related_begabtenfoerderung" }}</h2>
|
2022-06-18 17:32:32 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2023-01-25 19:33:28 +01:00
|
|
|
{{ $related := (where .Site.RegularPages "Type" "begabte") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}}
|
2022-06-18 17:32:32 +02:00
|
|
|
{{ range first 3 $related }}
|
|
|
|
<div class="col-lg-4 col-sm-6 mb-5">
|
2023-01-25 19:33:28 +01:00
|
|
|
{{ .Render "begabte"}}
|
2022-06-18 17:32:32 +02:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{ end }}
|