gcg-website/layouts/begabte/single.html

Failed to ignore revisions in .git-blame-ignore-revs.

25 lines
713 B
HTML
Raw Normal View History

2022-06-18 17:32:32 +02:00
{{ define "main" }}
2023-05-27 21:49:58 +02:00
{{ partial "header-cl-url" (dict "Params" .Params "Content" .Content) }}
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>
2023-04-23 10:48:20 +02:00
<div class="row" data-pagefind-ignore="all">
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">
{{ .Render "card-btn"}}
2022-06-18 17:32:32 +02:00
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}