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

25 lines
926 B
HTML
Raw Normal View History

{{ 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 }}
2023-05-08 09:51:38 +02:00
{{ if .websites }}
{{ range .websites }}
<li><a href="{{ .url }}" rel="nofollow">{{ .name }}</a></li>
{{ end }}
{{ end }}
</ul>
<h3>Social media</h3>
{{ if .social.mastodon }}
<a href="{{ .social.mastodon_url }}">{{ .social.mastodon }}</a><img src="/afbeeldingen/iconen/mastodon.svg" height="200" width="200" alt="Mastodon" /></a>
{{ end }}
{{ if .social.twitter }}
<a href="https://twitter.com/{{ .social.twitter }}">{{ .social.twitter }}</a><img src="/afbeeldingen/iconen/twitter.svg" height="200" width="200" alt="Twitter" /></a>
{{ end }}
{{ end }}
{{ end }}