Eerste ondersteuning ingebouwd voor personen binnen de organisatie
This commit is contained in:
parent
d817968bf3
commit
1e95d97e3b
4 changed files with 38 additions and 2 deletions
15
themes/nluug/layouts/person/single.html
Normal file
15
themes/nluug/layouts/person/single.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{ 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 }}
|
Loading…
Add table
Add a link
Reference in a new issue