{{ 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 isset .Params "presentation" }}

Presentatie

{{ if .Params.presentation.filename }} {{ if findRE `.pdf$` .Params.presentation.filename 1 }} {{ partial "show-svg-icon.html" (dict "context" . "icon" "file-pdf" "alt" "PDF-icoon") }} Presentatie {{ end }} {{ else if .Params.presentation.link }} Presentatie (externe link) {{ end }} {{ 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" "alt" "YouTube-icoon") }}{{ end }} {{ end }} Bekijk opname {{ end }} {{ end }}