This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website/themes/nluug/layouts/team/single.html

27 lines
785 B
HTML

{{ define "main" }}
{{ .Content }}
{{ if .Params.contact_email }}
<h2>Contact</h2>
<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-small-photos">
{{ range $key,$val := .Params.team_members }}
{{ with (index $.Site.Data.personen $val) }}
<div>
{{ if .thumbnail }}
{{ $image := replace .thumbnail "200x200" "150x150" }}
{{ $alttext := printf "Foto van %s" .name }}
{{ partial "show-image.html" (dict "context" . "image" $image "alt" $alttext "figcaption" .name "link" .profile_page) }}
{{ end }}
</div>
{{ end }}
{{ end }}
</div>
{{ end }}