Toevoegen foto's en informatie sprekers

This commit is contained in:
Michael Boelen 2023-06-07 13:41:21 +02:00
parent 8e8e67364f
commit f308acfe7e
4 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{{ define "main" }}
{{ .Content }}
<h2>Sprekers</h2>
{{ 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) }}
{{ $firstname := index (split .name " ") 0 }}
{{ if .profile_page }}<a href="{{ .profile_page }}">Meer over {{ $firstname }}</a>{{ end }}
{{ end }}
{{ end }}
{{ end }}