From 2760405839127068310834f200844a345b31f29c Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 29 May 2022 11:04:17 +0200 Subject: Move data to front matter --- content/_index.md | 13 ++++++++++--- themes/bare/layouts/index.html | 10 +++++----- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/content/_index.md b/content/_index.md index 4442bf4..1ae6a5c 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,6 +1,13 @@ -+++ -title = "xengineering" -+++ +{ + "title":"xengineering", + "heading":"xengineering", + "email":"me@xengineering.eu", + "xmpp":"xengineering@jabber.de", + "openpgp":{ + "fingerprint":"A13B 2588 7878 7F94 3F6C 68F0 0FD1 F842 33FA 8900", + "file":"xengineering.asc" + } +} ## Software diff --git a/themes/bare/layouts/index.html b/themes/bare/layouts/index.html index a96d541..6d11e7a 100644 --- a/themes/bare/layouts/index.html +++ b/themes/bare/layouts/index.html @@ -8,7 +8,7 @@ - xengineering + {{.Title}} @@ -20,13 +20,13 @@
-

{{.Title}}

+

{{.Params.heading}}

Contact

-

Mail: me@xengineering.eu

-

XMPP: xengineering@jabber.de

-

OpenPGP: A13B 2588 7878 7F94 3F6C 68F0 0FD1 F842 33FA 8900

+

Mail: {{.Params.email}}

+

XMPP: {{.Params.xmpp}}

+

OpenPGP: {{.Params.openpgp.fingerprint}}

{{.Content}} -- cgit v1.2.3-70-g09d2