Mastodon Feed: Post

Mastodon Feed

slightlyoff@toot.cafe ("Alex Russell") wrote:

This is pretty sweet:

A small shortcode for my blog that outputs the <!-- raw HTML omitted --> component configuration inline, while also triggering an import of the JS component via a bundle called "js".
Because the 11ty bundler plugin adds shortcodes for each bundle you specify, it's possible to simply call them later by pulling them back out of the eleventyConfig scope.