forked from laurens/fediversity_website
Support voor teams en koppelen van personen
This commit is contained in:
parent
d0c6b72978
commit
f9561c3cc1
22
themes/nluug/layouts/team/single.html
Normal file
22
themes/nluug/layouts/team/single.html
Normal 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 }}
|
Reference in a new issue