{{ define "main" }}
{{ with .Params.hero_image }}
{{ partial "picture.html" (dict "src" . "alt" "" "class" "agenda-page__hero-img" "loading" "eager" "decoding" "async" "fetchpriority" "high" "width" "1200" "height" "1074" ) }}
{{ end }}

{{ .Params.heading | default .Title }}

{{ with .Params.logo }} {{ end }}
{{ with .Params.subtitle }}

{{ . | safeHTML }}

{{ end }}
{{ with .Params.date_info }} {{ . }} {{ end }} {{ with .Params.location }} {{ . }} {{ end }}
{{ range .Params.slots }} {{ if eq .type "break" }}
{{ .title }}
{{ partial "svg" (dict "icon" "timer" "color" "currentColor") }} {{ .duration }} {{ .time }}
{{ else }}
{{ if or .company_logo .badge }}
{{ if .company_logo }} {{ end }} {{ if .badge }} {{ with .badge_icon }} {{ partial "svg" (dict "icon" . "path" $.Params.badge_icons_path "color" "currentColor") }} {{ end }} {{ .badge }} {{ end }}
{{ end }}

{{ .title }}

{{ with .description }}

{{ . }}

{{ end }}
{{ end }} {{ end }}
{{ end }}