Toevoegen van sprekersprofielen, link naar sprekersprofiel, toevoegen sprekers voorjaarsconferentie

This commit is contained in:
Michael Boelen 2023-06-07 15:12:58 +02:00
parent 58548063be
commit 825d9f2b57
22 changed files with 55 additions and 38 deletions

View file

@ -5,9 +5,9 @@
{{ range $key,$val := $.Site.Data.personen }}
{{ if eq $val.speaker true }}
<h3>&raquo; {{ .name }}</h3>
{{ partial "show-image-of-person.html" (dict "context" . "profile_details" $val "hide_figcaption" true) }}
{{ partial "show-image-of-person.html" (dict "context" . "profile_details" $val "hide_figcaption" true "add_link_to_image" true) }}
{{ $firstname := index (split .name " ") 0 }}
{{ if .profile_page }}<a href="{{ .profile_page }}">Meer over {{ $firstname }}</a>{{ end }}
{{ if not .profile_page }}<small>Deze spreker heeft nog geen profielpagina</small>{{ end }}
{{ end }}
{{ end }}