From 97b035744bcc7e8d80163508dc86ad9a765a59dc Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 8 May 2023 15:48:32 +0200 Subject: [PATCH] Optimaliseren iconen voor social media --- themes/nluug/layouts/person/single.html | 27 ++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) 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 }}