{{ $cont:=(.Page.Params.container | default .Site.Params.container | default "container")}} {{ $currLang:=.Page.Lang }} {{ $event_id := .Get "event" | default "default" }} {{ $langBase := index .Site.Data $currLang }} {{ $registration := (index $langBase $event_id).registration }} {{ $useBanner := .Get "banner" | default "false" }} {{ $sectionId := .Get "sectionId" | default "registration" }} {{ $sectionClass := .Get "sectionClass" }} {{ $t := time $registration.end_date }}
{{ if and (eq $useBanner "true") (eq $cont "fluid-container") }}
{{ end }}
{{ if $registration.image }}
{{ $registration.image | safeHTML }}
{{ end }}

{{ .Get "title" | default $registration.title }}

{{ .Inner | markdownify }} {{- with $registration.links }} {{ end }}

{{ $registration.end_text }}

{{ $registration.custom_content | safeHTML }}
{{ if and (eq $useBanner "true") (eq $cont "container-fluid") }}
{{ end }}