7
0
Fork 0
This repository has been archived on 2024-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website_archive/themes/nluug/layouts/team/single.html

35 lines
969 B
HTML
Raw Normal View History

{{ define "main" }}
{{ .Content }}
{{ if .Params.contact_email }}
<h2>Contact</h2>
2023-05-17 14:33:21 +02:00
<p>Wil je iets weten of heb je een suggestie voor ons?</p>
<a href="mailto:{{ .Params.contact_email }}" class="button">Neem contact op</a>
{{ end }}
<h2>Team</h2>
<div class="grid-team-members">
{{ range $key,$val := .Params.team_members }}
{{ with (index $.Site.Data.personen $val) }}
<div>
{{ if .thumbnail }}
<figure>
{{ if .profile_page }}
<a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" /></a>
{{ else }}
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" />
{{ end }}
<figcaption>
<strong>{{ .name }}</strong>
</figcaption>
</figure>
{{ end }}
</div>
{{ end }}
{{ end }}
</div>
{{ end }}