How to add the mastodon verification link when using hugo-book theme?

When using HOMEPAGE=example.com in mastodon, one gets a verification link to confirm the ownership of the domain.
I use the hugo-book theme.
The verification link needs to be available on the website and looks like

<a rel="me" href="https://fosstodon.org/@EXAMPLE">Mastodon</a>

What is the Hugo way to add links like these?
Is this done with the onboard hugo tools, or is there a clever solution in the theme which I did not find?

This may help you:

1 Like

According to the documentation

you need to go to the file
layouts/partials/docs/inject/head.html

and enter your code here

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.