documentation
documentation copied to clipboard
Attribute authors on Mastodon/the fediverse
Mastodon has a newish feature to attribute links to fediverse handles, and it will likely be adopted by other fediverse/ActivityPub platforms in the future. It's just an OpenGraph tag, e.g.:
<meta name="fediverse:creator" content="@[email protected]" />
Then when a link to any page on the site is shared to Mastodon, it will show More from Flathub below the link preview.
We should probably add the tag with the following logic:
- default to
@[email protected] - if we add fediverse handles to blog/authors.yml, we could add authors' handles for blog posts
Note that Mastodon currently only displays the first-listed handle, so we should ensure a post's author's handle is listed first. In the case of multiple authors we might just want to list the fallback of @[email protected] first so we're not giving preferential treatment to one author over another.
Might be worth raising this with docusaurus, to see, if they would want this in the platform.
Their GitHub-based feature request form was intimidating, so I've filed it on their feedback thing as the form requested: https://docusaurus.io/feature-requests/p/attribute-authors-on-mastodon-the-fediverse