forked from laurens/fediversity_website
25 lines
926 B
HTML
25 lines
926 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 .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 }}
|