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/person/single.html

16 lines
558 B
HTML

{{ define "main" }}
{{ with (index .Site.Data.personen (substr $.File.LogicalName 0 -4)) }}
{{ if .thumbnail }}<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}">{{ end }}
{{ .Content }}
<h3>Contact</h3>
<ul>
{{ if .email }}<li>E-mail: {{ .email }}</li>{{ end }}
{{ if .website }}<li><a href="{{ .website.url }}" rel="nofollow">{{ .website.name }}</a></li>{{ end }}
</ul>
<h3>Social media</h3>
{{ if .social.mastodon }}<a href="{{ .social.mastodon_url }}">{{ .social.mastodon }}</a>{{ end }}
{{ end }}
{{ end }}