From 1e95d97e3beed8b2bf6cbd6048e1c7b92f01f603 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sun, 7 May 2023 17:06:32 +0200 Subject: [PATCH] Eerste ondersteuning ingebouwd voor personen binnen de organisatie --- content/organisatie/personen/_index.rst | 0 content/organisatie/personen/michael-boelen.rst | 16 ++++++++++++++++ data/personen/michael-boelen.json | 9 +++++++-- themes/nluug/layouts/person/single.html | 15 +++++++++++++++ 4 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 content/organisatie/personen/_index.rst create mode 100644 content/organisatie/personen/michael-boelen.rst create mode 100644 themes/nluug/layouts/person/single.html diff --git a/content/organisatie/personen/_index.rst b/content/organisatie/personen/_index.rst new file mode 100644 index 0000000..e69de29 diff --git a/content/organisatie/personen/michael-boelen.rst b/content/organisatie/personen/michael-boelen.rst new file mode 100644 index 0000000..49fc4f7 --- /dev/null +++ b/content/organisatie/personen/michael-boelen.rst @@ -0,0 +1,16 @@ +--- +author: "Michael Boelen" +categories: +- organisatie +date: 2023-05-07T13:08:32+02:00 +description: +lastmod: 2023-05-07T13:08:32+02:00 +tags: +- organisatie +- actieve-leden +slug: michael-boelen +title: "Michael Boelen" +type: person +--- + +Michael is betrokken bij de randzaken van onze vereniging. Denk hierbij aan de PR, social media, website. Aangezien evenementen zoals onze conferenties een belangrijk onderdeel vormen voor de vereniging, ondersteunt Michael tevens de programmacommissie. diff --git a/data/personen/michael-boelen.json b/data/personen/michael-boelen.json index 8fa78b5..b64c970 100644 --- a/data/personen/michael-boelen.json +++ b/data/personen/michael-boelen.json @@ -4,12 +4,17 @@ "email": "michael@nluug.nl", "gender": "male", "nationality": "Dutch", + "thumbnail": "/afbeeldingen/personen/michael-boelen.png", + "website": { + "name": "michaelboelen.com", + "url": "https://michaelboelen.com/" + }, "social": { "github": "mboelen", "twitter": "mboelen", "instagram": "", "linkedin": "michael-boelen", - "mastodon": "mboelen@mastodon.social", - "mastodon_url": "https://mastodon.social/mboelen" + "mastodon": "@mboelen@mastodon.social", + "mastodon_url": "https://mastodon.social/@mboelen" } } diff --git a/themes/nluug/layouts/person/single.html b/themes/nluug/layouts/person/single.html new file mode 100644 index 0000000..3a05756 --- /dev/null +++ b/themes/nluug/layouts/person/single.html @@ -0,0 +1,15 @@ +{{ define "main" }} + {{ with (index .Site.Data.personen (substr $.File.LogicalName 0 -4)) }} + {{ if .thumbnail }}Foto van {{ .name }}{{ end }} + + {{ .Content }} + +

Contact

+ +

Social media

+ {{ if .social.mastodon }}{{ .social.mastodon }}{{ end }} + {{ end }} +{{ end }}