2023-06-07 13:41:21 +02:00
|
|
|
{{ define "main" }}
|
2023-06-08 15:47:39 +02:00
|
|
|
{{ $.Scratch.Set "speakers" slice }}
|
2023-06-07 13:41:21 +02:00
|
|
|
{{ .Content }}
|
|
|
|
|
2023-06-08 15:47:39 +02:00
|
|
|
{{ range where $.Site.RegularPages "Section" "evenementen" }}
|
|
|
|
{{ if .Params.speakers }}
|
|
|
|
{{ $.Scratch.Add "speakers" .Params.speakers }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if (gt ($.Scratch.Get "speakers" | len) 0) }}
|
|
|
|
{{ range $key,$val := $.Scratch.Get "speakers" | sort | uniq }}
|
|
|
|
{{ with (index $.Site.Data.personen $val) }}
|
2023-06-07 13:41:21 +02:00
|
|
|
<h3>» {{ .name }}</h3>
|
2023-06-08 15:47:39 +02:00
|
|
|
{{ partial "show-image-of-person.html" (dict "context" . "profile_details" . "hide_figcaption" true "add_link_to_image" true) }}
|
2023-06-07 13:41:21 +02:00
|
|
|
{{ $firstname := index (split .name " ") 0 }}
|
2023-06-07 15:12:58 +02:00
|
|
|
{{ if not .profile_page }}<small>Deze spreker heeft nog geen profielpagina</small>{{ end }}
|
2023-06-07 13:41:21 +02:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2023-06-08 15:47:39 +02:00
|
|
|
{{ end }}
|
2023-06-07 13:41:21 +02:00
|
|
|
|
|
|
|
{{ end }}
|