25 lines
733 B
HTML
Raw Normal View History

2022-06-18 17:32:32 +02:00
{{ define "main" }}
{{ partial "header-cl-url" (dict "Params" .Params "Content" .Content "default_img" "/media/begabte/image.webp") }}
2022-06-18 17:32:32 +02:00
<section class="section-sm pt-0">
2022-06-18 17:32:32 +02:00
<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">
{{ .Render "card-btn"}}
2022-06-18 17:32:32 +02:00
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}