forked from laurens/fediversity_website
Eerste opmaak van ereleden-pagina
This commit is contained in:
parent
d1c0b1bac2
commit
94082dd5ba
|
@ -2,12 +2,13 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
<h2>Ereleden</h2>
|
<h2>Ereleden</h2>
|
||||||
<ul>
|
|
||||||
{{ range $key,$val := $.Site.Data.personen }}
|
{{ range $key,$val := $.Site.Data.personen }}
|
||||||
{{ if eq $val.honorary_member true }}
|
{{ if eq $val.honorary_member true }}
|
||||||
<li>{{ if .profile_page }}<a href="{{ .profile_page }}">{{ .name }}</a>{{ else }}{{ .name }}{{ end }}</li>
|
<h3>» {{ .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 }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Reference in a new issue