From fd1d5c204ddb3d9956b8d318d8382ebfb0a9377a Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Thu, 8 Jun 2023 15:48:48 +0200 Subject: [PATCH] Laten zien van welke commissies iemand lid is en optimaliseren weergave van evenementen waarop iemand gesproken heeft --- themes/nluug/layouts/person/single.html | 45 +++++++++++++++++++------ 1 file changed, 35 insertions(+), 10 deletions(-) diff --git a/themes/nluug/layouts/person/single.html b/themes/nluug/layouts/person/single.html index 563f2d7..620aac8 100644 --- a/themes/nluug/layouts/person/single.html +++ b/themes/nluug/layouts/person/single.html @@ -1,23 +1,48 @@ {{ define "main" }} {{ $text := .Content }} + {{ $.Scratch.Set "committee_member" slice }} + {{ $.Scratch.Set "speaker_at_events" slice }} + {{ with (index .Site.Data.personen (substr $.File.LogicalName 0 -3)) }} {{ $personid := .id }} {{ if .thumbnail }}Foto van {{ .name }}{{ end }} {{ $text }} - - {{ if .speaker }} -

Presentaties

-