{{ 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 }}{{ end }} {{ $text }} {{ range where $.Site.RegularPages.ByTitle "Section" "organisatie" }} {{ if .Params.team_members }} {{ if in .Params.team_members $personid }} {{ $.Scratch.Add "committee_member" . }} {{ end }} {{ end }} {{ end }} {{ if (gt ($.Scratch.Get "committee_member" | len) 0) }}
{{ .name }} is actief binnen de volgende teams/commissies: