Embed Mastodon Shortcode
Table of Contents
The Problem#
Embed Mastodon posts (toots) into Hugo content for context.
The Solution#
Bryce Wray provides the code. But this didn’t look right on my PaperMod theme. So I tried something different.
Put this into layouts/shortcodes/toot.html:
View gist: toot.html shortcode
And invoke like this:
The Example#
[Source not online at time of site build.]