Log in Sign up

Adding a Mastodon Verification Link

Is there a way to add HTML to my links at the top of the page?
I want to add a rel=me anchor tag for Mastodon verification
e.g.
<a rel="me" href="https://mastodon.social/@Uhnnohn">Mastodon</a>

It's the rel="me" attribute I cannot figure out how to add to the link


2 years ago, 7 replies   mastodon   Edit question

replace the “a” tag with “link” and you don’t need anything past the closing >

Answered 2 years ago · Edit answer

No, that doesn't work. It tries to go to a local link when you do that. Then you get a page not found 404 error. I tried with double, single, and no quotes around the attributes.

Answered 2 years ago · Edit answer

Maybe you can try adding the inside the head and not in the menu. It's just like for IndieWeb: https://indielogin.com/setup

Answered 2 years ago · Edit answer

You'll need to fork an editable copy of the template you are using, if you haven't already, then add the line to the head.html template file.

Answered 2 years ago · Edit answer

Bummer. I'm trying not to start maintaining my own templates but using the defaults.

Answered 2 years ago · Edit answer

Unfortunately if you want to customize the source code of your site, you'll need to fork a copy of your template.

Now you can add this link as-is to any post or page, just copy in the source code directly into the post or page. But adding to the menu will require tweaking the template

Answered 2 years ago · Edit answer

You can create one post in Blot and add your mastodon user name and it will pick it up quickly:

You can find me here on Mastodon

Answered 2 years ago · Edit answer