gcg-website/layouts/begabte/single.html

25 lines
697 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
2023-06-11 21:13:11 +02:00
<section class="section pt-0">
2022-06-18 17:32:32 +02:00
<div class="container">
<div class="row">
<div class="col-12">
2023-06-21 17:58:49 +02:00
<h2 class="mb-4">Weitere Begabtenförderungsangebote</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 }}