{{ define "main" }}
{{ if .Params.Cantorpreisträger }}

{{ i18n "cantorpreisträger" }}

{{ range where (where .Site.RegularPages "Title" .Params.Title ) "Type" "=" "cantorpreis" }}
{{ .Title }}

{{ .Params.Name }}

{{ .Description }}
{{ end }}
{{ end }} {{ range .Params.topics }} {{ partial "chronik-modal" (dict "id" (md5 .title) "title" .title "content" .content) }} {{ end }} {{ if and .Params.pretext (ne .Params.pretext "\n\n\n") }} {{ partial "chronik-modal" (dict "id" "pretext" "title" .Title "content" .Params.pretext) }} {{ end }}
{{ $topics := slice }} {{ if .Params.pretext }} {{ $topics = $topics | append (slice (slice .Params.Title 200 "pretext")) }} {{ else }} {{ $topics = $topics | append (slice (slice .Params.Title 200)) }} {{ end }} {{ range .Params.topics }} {{ if .superhaufen }} {{ $topics = $topics | append (slice (slice .title 30 .superlink "superhaufen" )) }} {{ else }} {{ $topics = $topics | append (slice (slice .title 30 (md5 .title) )) }} {{ end }} {{ end }} {{ $topics = $topics | jsonify }} {{ .Content }}
{{ end }}