From 71a7ba08bfc87e6301234ddb8f65de3c266618dd Mon Sep 17 00:00:00 2001 From: madrilene Date: Mon, 14 Oct 2024 09:29:32 +0200 Subject: [PATCH] add fediverse creator meta tag --- src/_data/meta.js | 3 ++- src/_includes/head/meta-info.njk | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/_data/meta.js b/src/_data/meta.js index ab75585..7f55686 100644 --- a/src/_data/meta.js +++ b/src/_data/meta.js @@ -9,7 +9,8 @@ export const author = { name: 'Lene Saile', // i.e. Lene Saile - page / blog author's name. Must be set. avatar: '/icon-512x512.png', // path to the author's avatar. In this case just using a favicon. email: 'hola@lenesaile.com', // i.e. hola@lenesaile.com - email of the author - website: 'https://www.lenesaile.com' // i.e. https.://www.lenesaile.com - the personal site of the author + website: 'https://www.lenesaile.com', // i.e. https.://www.lenesaile.com - the personal site of the author + fediverse: 'https://front-end.social/@lene' // used for highlighting journalism on the fediverse. Can be Mastodon, Flipboard, Threads, WordPress (with the ActivityPub plugin installed), PeerTube, Pixelfed, etc. https://blog.joinmastodon.org/2024/07/highlighting-journalism-on-mastodon/ }; export const creator = { name: 'Lene Saile', // i.e. Lene Saile - creator's (developer) name. diff --git a/src/_includes/head/meta-info.njk b/src/_includes/head/meta-info.njk index 1669dc1..5e41d60 100644 --- a/src/_includes/head/meta-info.njk +++ b/src/_includes/head/meta-info.njk @@ -31,6 +31,11 @@ {% endif %} +{% if meta.author.fediverse %} + + +{% endif %} +