Closed benasse closed 5 years ago
Thanks for sharing, it might be worth posting on the forums too.
Is it possible to code it properly in the theme? I would rather keep the local branch in sync with your master.
Based on this issue: https://github.com/mastodon/mastodon/issues/10345
I added <link rel="me" href="https://mastodon.online/@systempk" />
in my site's layouts/partials/custom_head.html
. This partial is included in themes/academic/layouts/partials/site_head.html
. This way, upstream changes to layouts/partials/widgets/about.html
are not missed.
Edit: see the docs here, the custom_head.html
is for Wowchemy <5.6 only.
https://wowchemy.com/docs/hugo-tutorials/extending-wowchemy/#custom-head
Can confirm the solution above works nicely
works well indeed. a minor downside might be that this link will now be part of the header of all pages (whereas a single link on the main page would be enough)
It is possible to add the mastodon profile verification like this:
I added it like this, and it works:
./themes/academic/layouts/partials/widgets/about.html
line 52 {{ $target = "target=\"_blank\" rel=\"noopener"" }}
line 52 {{ $target = "target=\"_blank\" rel=\"noopener me\"" }}
I share the change if you want to integrate it upstream