From 59c0139a72abc947ada8a53fb3b6c8ae0cafeeb2 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 24 May 2024 12:59:32 +0000 Subject: [PATCH] Tonen namen indien er geen foto is opgegeven --- themes/nluug/layouts/team/single.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/nluug/layouts/team/single.html b/themes/nluug/layouts/team/single.html index f65df29..44e0903 100644 --- a/themes/nluug/layouts/team/single.html +++ b/themes/nluug/layouts/team/single.html @@ -58,6 +58,8 @@ {{ $image := replace .thumbnail "200x200" "150x150" }} {{ $alttext := printf "Foto van %s" .name }} {{ partial "show-image.html" (dict "context" . "image" $image "alt" $alttext "figcaption" .name "link" .profile_page) }} + {{ else }} + {{ .name }} {{ end }} {{ end }}