From b13aa17dff0a242e2c084477be4c98995048fa71 Mon Sep 17 00:00:00 2001 From: squid Date: Sat, 14 Nov 2026 20:12:26 +0100 Subject: [PATCH] feat: add a rel=me link to the Mastodon profile in the head of every page Mastodon verifies a profile link when the target page links back to the profile with rel=me. A link element in the head is invisible. The address is mastodon_url in site.json. Closes #3 --- site.json | 1 + templates/base.html | 1 + 2 files changed, 2 insertions(+) diff --git a/site.json b/site.json index a0807ed..5270c0e 100644 --- a/site.json +++ b/site.json @@ -16,6 +16,7 @@ "license_url": "https://creativecommons.org/licenses/by-sa/4.0/", "btc": "bc1qsj5qadrzlqmfwcru4fwuqvftg833te5f9mja2c", "shop_url": "https://kmalloc.myspreadshop.it/", + "mastodon_url": "https://social.kmalloc.org/@squid", "home_order": [ "git", "social", diff --git a/templates/base.html b/templates/base.html index 015b6e2..124546d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -18,6 +18,7 @@ + {{alt_links}}