2023-05-07 17:06:32 +02:00
|
|
|
{{ define "main" }}
|
2023-05-08 15:48:32 +02:00
|
|
|
{{ $text := .Content }}
|
2023-06-08 15:48:48 +02:00
|
|
|
{{ $.Scratch.Set "committee_member" slice }}
|
|
|
|
{{ $.Scratch.Set "speaker_at_events" slice }}
|
|
|
|
|
2023-06-05 09:52:10 +02:00
|
|
|
{{ with (index .Site.Data.personen (substr $.File.LogicalName 0 -3)) }}
|
2023-06-07 15:12:58 +02:00
|
|
|
{{ $personid := .id }}
|
2023-06-18 13:37:23 +02:00
|
|
|
{{ if .thumbnail }}
|
|
|
|
{{ $alttext := printf "Foto van %s" .name }}
|
2023-06-18 13:50:42 +02:00
|
|
|
{{ partial "show-image.html" (dict "context" . "image" .thumbnail "above_the_fold" true "alt" $alttext) }}
|
2023-06-18 13:37:23 +02:00
|
|
|
{{ end }}
|
2023-05-08 15:48:32 +02:00
|
|
|
{{ $text }}
|
2023-06-07 15:12:58 +02:00
|
|
|
|
2023-06-08 19:49:05 +02:00
|
|
|
{{ range where $.Site.RegularPages.ByTitle "Section" "organisatie" }}
|
2023-06-08 15:48:48 +02:00
|
|
|
{{ if .Params.team_members }}
|
|
|
|
{{ if in .Params.team_members $personid }}
|
|
|
|
{{ $.Scratch.Add "committee_member" . }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2023-06-07 15:12:58 +02:00
|
|
|
|
2023-06-08 15:48:48 +02:00
|
|
|
{{ if (gt ($.Scratch.Get "committee_member" | len) 0) }}
|
|
|
|
<h2>Organisatie</h2>
|
|
|
|
<p>{{ .name }} is actief binnen de volgende teams/commissies:</p>
|
2023-06-07 15:12:58 +02:00
|
|
|
<ul>
|
2023-06-08 15:48:48 +02:00
|
|
|
{{ range $.Scratch.Get "committee_member" }}
|
2023-06-07 15:12:58 +02:00
|
|
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
2023-05-08 09:51:38 +02:00
|
|
|
{{ end }}
|
2023-06-08 15:48:48 +02:00
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ range where $.Site.RegularPages "Section" "evenementen" }}
|
|
|
|
{{ if .Params.speakers }}
|
|
|
|
{{ if in .Params.speakers $personid }}
|
|
|
|
{{ $.Scratch.Add "speaker_at_events" . }}
|
|
|
|
{{ end }}
|
2023-06-07 15:12:58 +02:00
|
|
|
{{ end }}
|
2023-06-08 15:48:48 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if (gt ($.Scratch.Get "speaker_at_events" | len) 0) }}
|
|
|
|
<h2>Presentaties</h2>
|
|
|
|
<ul>
|
|
|
|
{{ range $.Scratch.Get "speaker_at_events" }}
|
|
|
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
|
|
|
{{ end }}
|
2023-06-07 15:12:58 +02:00
|
|
|
</ul>
|
|
|
|
{{ end }}
|
2023-06-08 15:48:48 +02:00
|
|
|
|
2023-06-07 15:12:58 +02:00
|
|
|
{{ if or (.email) (.websites) }}
|
|
|
|
<h2>Contact</h2>
|
|
|
|
<ul>
|
|
|
|
{{ if .email }}<li>E-mail: {{ .email }}</li>{{ end }}
|
|
|
|
{{ if .websites }}
|
|
|
|
{{ range .websites }}
|
|
|
|
<li><a href="{{ .url }}" rel="nofollow noopener">{{ .name }}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2023-05-08 09:51:38 +02:00
|
|
|
{{ end }}
|
2023-05-08 15:48:32 +02:00
|
|
|
|
2023-06-19 13:37:20 +02:00
|
|
|
{{ if or (.social.hubzilla) (.social.mastodon) (.social.twitter) }}
|
2023-06-07 15:12:58 +02:00
|
|
|
<h2>Social media</h2>
|
2023-05-15 21:57:57 +02:00
|
|
|
|
2023-05-08 15:48:32 +02:00
|
|
|
<ul class="list">
|
2023-06-24 00:03:56 +02:00
|
|
|
{{ if .social.github }}
|
|
|
|
<li><img class="m-r-small" src="/afbeeldingen/iconen/github.svg" height="{{ $.Site.Params.smallIconSize }}" width="{{ $.Site.Params.smallIconSize }}" alt="GitHub-icoon"> <a href="https://github.com/{{ .social.github }}">{{ .social.github }} op GitHub</a></li>
|
|
|
|
{{ end }}
|
2023-06-19 13:37:20 +02:00
|
|
|
{{ if .social.hubzilla }}
|
2023-06-24 00:03:56 +02:00
|
|
|
<li><img class="m-r-small" src="/afbeeldingen/iconen/message.svg" height="{{ $.Site.Params.smallIconSize }}" width="{{ $.Site.Params.smallIconSize }}" alt="Hubzilla-icoon"> <a href="{{ .social.hubzilla_url }}">{{ .social.hubzilla }}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
{{ if .social.linkedin }}
|
|
|
|
<li><img class="m-r-small" src="/afbeeldingen/iconen/linkedin.svg" height="{{ $.Site.Params.smallIconSize }}" width="{{ $.Site.Params.smallIconSize }}" alt="LinkedIn-icoon"> <a href="{{ .social.linkedin }}">LinkedIn</a></li>
|
2023-06-19 13:37:20 +02:00
|
|
|
{{ end }}
|
2023-05-08 15:48:32 +02:00
|
|
|
{{ if .social.mastodon }}
|
2023-06-24 00:03:56 +02:00
|
|
|
<li><img class="m-r-small" src="/afbeeldingen/iconen/mastodon.svg" height="{{ $.Site.Params.smallIconSize }}" width="{{ $.Site.Params.smallIconSize }}" alt="Mastodon-icoon"> <a href="{{ .social.mastodon_url }}">{{ .social.mastodon }}</a></li>
|
2023-05-08 15:48:32 +02:00
|
|
|
{{ end }}
|
|
|
|
{{ if .social.twitter }}
|
2023-06-24 00:03:56 +02:00
|
|
|
<li><img class="m-r-small" src="/afbeeldingen/iconen/twitter.svg" height="{{ $.Site.Params.smallIconSize }}" width="{{ $.Site.Params.smallIconSize }}" alt="Twitter-icoon"> <a href="https://twitter.com/{{ .social.twitter }}">{{ .social.twitter }}</a></li>
|
2023-05-08 15:48:32 +02:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2023-05-08 15:04:22 +02:00
|
|
|
{{ end }}
|
2023-05-08 15:48:32 +02:00
|
|
|
|
2023-05-07 17:06:32 +02:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|