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="@flathub@floss.social" />
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
@flathub@floss.social
- 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 @flathub@floss.social first so we're not giving preferential treatment to one author over another.
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.:
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:
@flathub@floss.socialNote 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
@flathub@floss.socialfirst so we're not giving preferential treatment to one author over another.