feat: add unfurl shortcode for rich link preview cards

Adds {% unfurl "URL" %} shortcode that renders any URL as a rich card
with OpenGraph metadata (title, description, image, favicon). Uses
unfurl.js locally — no external API dependency. Results cached for 1
week in .cache/unfurl/. Also fixes Mastodon embed server config
(mstdn.social → indieweb.social).
This commit is contained in:
Ricardo
2026-02-20 11:29:11 +01:00
parent 656a70eb0e
commit 897daca686
5 changed files with 253 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ export default {
"./**/*.md",
"./_includes/**/*.njk",
"./content/**/*.md",
"./lib/**/*.js",
],
darkMode: "class",
theme: {