diff --git a/themes/nluug/layouts/person/single.html b/themes/nluug/layouts/person/single.html index 14e1989..5dc6e8d 100644 --- a/themes/nluug/layouts/person/single.html +++ b/themes/nluug/layouts/person/single.html @@ -1,9 +1,9 @@ {{ define "main" }} + {{ $icon_size := 20 }} + {{ $text := .Content }} {{ with (index .Site.Data.personen (substr $.File.LogicalName 0 -4)) }} {{ if .thumbnail }}Foto van {{ .name }}{{ end }} - - {{ .Content }} - + {{ $text }}

Contact

-

Social media

- {{ if .social.mastodon }} - {{ .social.mastodon }}Mastodon - {{ end }} - {{ if .social.twitter }} - {{ .social.twitter }}Twitter + + {{ if or + (.social.mastodon) + (.social.twitter) + }} +

Social media

+ {{ end }} + {{ end }} {{ end }}