20 lines
609 B
HTML
20 lines
609 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>{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|