24 lines
748 B
HTML
Raw Normal View History

2022-03-18 13:35:57 +01:00
{{ define "main" }}
{{ partial "header-cl-url" (dict "Params" .Params "Content" .Content "default_img" "/media/contests/image.webp") }}
2022-03-18 13:35:57 +01:00
<section class="section-sm pt-0">
2022-03-18 13:35:57 +01:00
<div class="container">
<div class="row">
<div class="col-12">
<h2 class="section-title">{{ i18n "related_contests" }}</h2>
</div>
</div>
2023-04-23 10:48:20 +02:00
<div class="row" data-pagefind-ignore="all">
2022-03-18 13:35:57 +01:00
{{ $related := (where .Site.RegularPages "Type" "wettbewerbe") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}}
{{ range first 3 $related }}
<div class="col-lg-4 col-sm-6">
{{ .Render "card-ct"}}
2022-03-18 13:35:57 +01:00
</div>
{{ end }}
</div>
</div>
</section>
{{ end }}