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

@ -1,9 +1,12 @@
{{ if .profile_details }}
<div>
{{ if .profile_details.thumbnail }}
{{ $image := replace .profile_details.thumbnail "200x200" "150x150" }}
{{ $alttext := printf "Foto van %s" .profile_details.name }}
{{ if and (.add_link_to_image) (.profile_details.profile_page) }}<a href="{{ .profile_details.profile_page }}">{{ end }}
{{ partial "show-image.html" (dict "context" . "image" $image "alt" $alttext) }}
{{ if and (.add_link_to_image) (.profile_details.profile_page) }}</a>{{ end }}
{{ end }}
</div>
{{ end }}