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

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

{{ .Scratch.Set "related_speakers" .Params.speakers }} {{ partial "show-speakers-small.html" . }}
{{ 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 }}