mirror of
https://github.com/svemagie/blog-eleventy-indiekit.git
synced 2026-04-02 16:44:56 +02:00
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:
@@ -29,7 +29,8 @@
|
||||
"markdown-it-anchor": "^9.2.0",
|
||||
"pagefind": "^1.3.0",
|
||||
"rss-parser": "^3.13.0",
|
||||
"satori": "^0.19.2"
|
||||
"satori": "^0.19.2",
|
||||
"unfurl.js": "^6.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.5.0",
|
||||
|
||||
Reference in New Issue
Block a user