From d1c0b1bac2da5842c57d493d5e5d7b317e871fc4 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 22 May 2023 21:04:40 +0200 Subject: [PATCH] Partial voor het tonen van een foto van een persoon --- .../partials/show-image-of-person.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 themes/nluug/layouts/partials/show-image-of-person.html diff --git a/themes/nluug/layouts/partials/show-image-of-person.html b/themes/nluug/layouts/partials/show-image-of-person.html new file mode 100644 index 0000000..3aa668e --- /dev/null +++ b/themes/nluug/layouts/partials/show-image-of-person.html @@ -0,0 +1,19 @@ +{{ $size_in_pixels := 150 }} +{{ if .profile_details }} +
+ {{ if .profile_details.thumbnail }} +
+ {{ if .profile_details.profile_page }} + Foto van {{ .profile_details.name }} + {{ else }} + Foto van {{ .profile_details.name }} + {{ end }} + {{ if not .hide_figcaption }} +
+ {{ .profile_details.name }} +
+ {{ end }} +
+ {{ end }} +
+{{ end }}