Eerste opmaak van ereleden-pagina

This commit is contained in:
Michael Boelen 2023-05-22 21:04:54 +02:00
parent d1c0b1bac2
commit 94082dd5ba

View file

@ -2,12 +2,13 @@
{{ .Content }}
<h2>Ereleden</h2>
<ul>
{{ range $key,$val := $.Site.Data.personen }}
{{ if eq $val.honorary_member true }}
<li>{{ if .profile_page }}<a href="{{ .profile_page }}">{{ .name }}</a>{{ else }}{{ .name }}{{ end }}</li>
<h3>&raquo; {{ .name }}</h3>
{{ partial "show-image-of-person.html" (dict "context" . "profile_details" $val "hide_figcaption" true) }}
{{ $firstname := index (split .name " ") 0 }}
{{ if .profile_page }}<a href="{{ .profile_page }}">Meer over {{ $firstname }}</a>{{ end }}
{{ end }}
{{ end }}
</ul>
{{ end }}