{{ define "main" }}
{{ .Content }}
{{ if .Params.speakers }}
{{ $count := .Params.speakers | len }}

{{ i18n "speaker" (dict "Count" $count) | strings.FirstUpper }}

{{ range $person := .Params.speakers }} {{ with (index site.Data.personen $person) }} {{ partial "show-image-of-person.html" (dict "context" . "profile_details" . "add_link_to_image" true) }} {{ end }} {{ end }}
{{ end }} {{ if .Params.presentation.filename }}

Presentatie

{{ if findRE `.pdf$` .Params.presentation.filename 1 }} {{ partial "show-svg-icon.html" (dict "context" . "icon" "file-pdf") }} {{ end }} Presentatie {{ end }} {{ if .Params.recording.url }}

Opname

{{ if .Params.recording.platform }} {{ if eq .Params.recording.platform "youtube" }}{{ partial "show-svg-icon.html" (dict "context" . "icon" "youtube") }}{{ end }} {{ end }} Bekijk opname {{ end }} {{ end }}