Adds functionality to identify Mastodon links in Hugo markdown files, extract relevant information like instance and ID, and generate previews.
This allows for embedding Mastodon toots directly into the generated Hugo site and provides a preview text extracted from the toot content improving the user experience and content integration. It also adds a fallback in case a toot disappears to avoid broken content.
Also adds `bleach` as a dependency to sanitize HTML content.
Adds a script to process Hugo Markdown files, extract
previews from linked 'reply' URLs, and flag Mastodon links.
This enhances content display and context for replies,
especially on Mastodon. It also creates a new Github
Action to run the script on a schedule.
Adds a script to automatically add syndication links to posts' frontmatter based on RSS feeds from Mastodon, Bluesky and Medium.
It also updates the Makefile to include the new script, the `.gitignore` file to ignore the log file, and the syndication partial to correctly render syndication links.
It uses the source URL inside the content to find the local file.