Mastodon Profile Site Verification #2151
-
Hello all, I simply need to show that my self hosted Shaarli site is verified back to my Mastodon profile (I've done this with 3 sites so far). From Mastodon: I created a header.html file and put Mastodon's code in it, but no luck. Surely there is someone out there (?) that has done this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
You didn't say what theme you were using, so I'm going to assume that you're using Default. Looking around a little in my own install, you should not create a new file. Default uses the file /tpl/default/page.header.html for that purpose. Every page pulls in that file to create its header. So, edit that file and add your Mastodon verification code in there; I don't think it matters where, really, so making it the very first line of the file (above |
Beta Was this translation helpful? Give feedback.
-
I see the malformed Thanks for jumping in with your help! |
Beta Was this translation helpful? Give feedback.
If you use
<a>
it should be in thebody
of the page, as if you uselink
it should be in the<head>
as stated in the documentationBut besides having a
link
in thebody
you also have it malformedshould instead be
and added to the
head
instead, if you want it in thebody
it should actually be