6
0
Fork 0

Support voor teams en koppelen van personen

This commit is contained in:
Michael Boelen 2023-05-08 09:50:28 +02:00
parent d0c6b72978
commit f9561c3cc1

View file

@ -0,0 +1,22 @@
{{ define "main" }}
{{ .Content }}
<h2>Team</h2>
<div style="display: grid;grid-template-columns: 1fr 1fr 1fr;column-gap: 5px;">
{{ range $key,$val := .Params.team_members }}
{{ with (index $.Site.Data.personen $val) }}
<div>
{{ if .thumbnail }}
<figure>
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" />
<figcaption>
<strong>{{ .name }}</strong>
</figcaption>
</figure>
{{ end }}
</div>
{{ end }}
{{ end }}
</div>
{{ end }}