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
This commit is contained in:
squid 2026-11-14 20:12:26 +01:00
commit b13aa17dff

View file

@ -18,6 +18,7 @@
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="me" href="{{mastodon_url}}">
{{alt_links}}
<link rel="alternate" type="application/rss+xml" title="kmalloc.org: {{nav_news}}" href="{{url_news}}feed.xml">
<style>