Attribute authors on Mastodon/the fediverse
C
Cassidy James Blaede
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.:
```xml
<meta name="fediverse:creator" content="@name@example.com" />
```
Then when a link to any page on a Docusaurus site is shared to Mastodon, it will show **More from Name** below the link preview.
It would be nice to support this in Docusaurus directly so documentation _and_ individual blog posts could be correctly attributed to authors when shared across the fediverse. For example, the logic could be:
- default to a site-wide fediverse handle
- If a blog post is attributed to a fediverse handle (e.g. added to blog/authors.yml), add those authors' handles for blog posts
Note that Mastodon (currently) only displays the first-listed handle, so a post's author's handle should be listed first. In the case of multiple authors, it might make sense to list the site-wide handle first so we're not giving preferential treatment to one author over another.