{{ 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 }} {{ range where $.Site.RegularPages "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) }}

Organisatie

{{ .name }} is actief binnen de volgende teams/commissies:

{{ end }} {{ range where $.Site.RegularPages "Section" "evenementen" }} {{ if .Params.speakers }} {{ if in .Params.speakers $personid }} {{ $.Scratch.Add "speaker_at_events" . }} {{ end }} {{ end }} {{ end }} {{ if (gt ($.Scratch.Get "speaker_at_events" | len) 0) }}

Presentaties

{{ end }} {{ if or (.email) (.websites) }}

Contact

{{ end }} {{ if or (.social.mastodon) (.social.twitter) }}

Social media

{{ end }} {{ end }} {{ end }}