{{ define "main" }} {{ .Title }} {{ i18n "class" | upper }} {{ .Params.Class }} {{ i18n "website" }} {{ .Content }} {{ i18n "related_contests" }} {{ $related := (where .Site.RegularPages "Type" "wettbewerbe") | intersect (where .Site.Pages ".Title" "!=" .Title) | union (.Site.RegularPages.Related . ) | shuffle | first 3}} {{ range first 3 $related }} {{ .Render "wettbewerbe"}} {{ end }} {{ end }}
{{ .Params.Class }}