From f507b037f1f737cceb23e645e46db43b33cba772 Mon Sep 17 00:00:00 2001 From: Preston Arnold Date: Fri, 27 Mar 2026 14:19:25 +0000 Subject: [PATCH 1/4] feat(rss): Add 11ty rrs --- package-lock.json | 36 +++++++++++++++++++++++++++--------- package.json | 1 + 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index bf40c5d..89cb1f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@11ty/eleventy": "^3.1.2", "@11ty/eleventy-fetch": "^5.1.0", "@11ty/eleventy-img": "^6.0.4", + "@11ty/eleventy-plugin-rss": "^3.0.0", "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.1", "@chrisburnell/eleventy-cache-webmentions": "^2.1.9" } @@ -190,6 +191,22 @@ "url": "https://opencollective.com/11ty" } }, + "node_modules/@11ty/eleventy-plugin-rss": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-rss/-/eleventy-plugin-rss-3.0.0.tgz", + "integrity": "sha512-kKW4DcR57xAyRx0e8gNhKh56ahHVEaAj8/TuXQDnw+B46ig2bWADJAlyj/GdV37IG5ja9dZ4SgKZrs/CHz6YWQ==", + "license": "MIT", + "dependencies": { + "@11ty/eleventy-utils": "^2.0.7", + "@11ty/posthtml-urls": "^1.0.2", + "debug": "^4.4.3", + "posthtml": "^0.16.7" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/11ty" + } + }, "node_modules/@11ty/eleventy-plugin-syntaxhighlight": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/@11ty/eleventy-plugin-syntaxhighlight/-/eleventy-plugin-syntaxhighlight-5.0.1.tgz", @@ -267,9 +284,9 @@ } }, "node_modules/@11ty/posthtml-urls": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@11ty/posthtml-urls/-/posthtml-urls-1.0.1.tgz", - "integrity": "sha512-6EFN/yYSxC/OzYXpq4gXDyDMlX/W+2MgCvvoxf11X1z76bqkqFJ8eep5RiBWfGT5j0323a1pwpelcJJdR46MCw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@11ty/posthtml-urls/-/posthtml-urls-1.0.3.tgz", + "integrity": "sha512-1YvhnkaNlFnnJic1rBMWmTC2adbuy+JQiBfl1Hecr1Wjjik1pQZmGyk/eC9zKX/FQv52s2Nht1Gi/UwhYqrBeg==", "license": "MIT", "dependencies": { "evaluate-value": "^2.0.0", @@ -1003,9 +1020,10 @@ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, "node_modules/debug": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", - "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", "dependencies": { "ms": "^2.1.3" }, @@ -1902,9 +1920,9 @@ } }, "node_modules/posthtml": { - "version": "0.16.6", - "resolved": "https://registry.npmjs.org/posthtml/-/posthtml-0.16.6.tgz", - "integrity": "sha512-JcEmHlyLK/o0uGAlj65vgg+7LIms0xKXe60lcDOTU7oVX/3LuEuLwrQpW3VJ7de5TaFKiW4kWkaIpJL42FEgxQ==", + "version": "0.16.7", + "resolved": "https://registry.npmjs.org/posthtml/-/posthtml-0.16.7.tgz", + "integrity": "sha512-7Hc+IvlQ7hlaIfQFZnxlRl0jnpWq2qwibORBhQYIb0QbNtuicc5ZxvKkVT71HJ4Py1wSZ/3VR1r8LfkCtoCzhw==", "license": "MIT", "dependencies": { "posthtml-parser": "^0.11.0", diff --git a/package.json b/package.json index 7e53d4e..7a5754f 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@11ty/eleventy": "^3.1.2", "@11ty/eleventy-fetch": "^5.1.0", "@11ty/eleventy-img": "^6.0.4", + "@11ty/eleventy-plugin-rss": "^3.0.0", "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.1", "@chrisburnell/eleventy-cache-webmentions": "^2.1.9" } From ff7965cf20b0a323f74b929f69f806c6e8fdf65a Mon Sep 17 00:00:00 2001 From: Preston Arnold Date: Fri, 27 Mar 2026 14:24:30 +0000 Subject: [PATCH 2/4] feat(rss): Configure feed plugin --- .eleventy.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.eleventy.js b/.eleventy.js index dd6d9ec..081dea8 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -8,6 +8,7 @@ const markdownIt = markdownit({ // import plugins import { eleventyImageTransformPlugin } from "@11ty/eleventy-img"; +import { feedPlugin } from "@11ty/eleventy-plugin-rss"; // import filters import collectionFilters from "./src/eleventy/filters/collections.js"; @@ -43,6 +44,25 @@ export default function (config) { }, }); + config.addPlugin(feedPlugin, { + type: "atom", + outputPath: "/feed.xml", + collection: { + name: "posts", + limit: 10, + }, + metadata: { + language: "en", + title: "Dave Letorey", + subtitle: "TBD", + base: "https://letorey.co.uk/", + author: { + title: "Dave Letorey", + email: "", // is optional, tbd + } + } + }) + // redirects // config.addPassthroughCopy('src/_redirects'); From b885c4edb38da46e2fb9edab69ff725591b63e04 Mon Sep 17 00:00:00 2001 From: Preston Arnold Date: Fri, 27 Mar 2026 14:34:43 +0000 Subject: [PATCH 3/4] Remove metadata.author.email --- .eleventy.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 081dea8..ce66b4a 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -54,11 +54,10 @@ export default function (config) { metadata: { language: "en", title: "Dave Letorey", - subtitle: "TBD", + subtitle: "", base: "https://letorey.co.uk/", author: { title: "Dave Letorey", - email: "", // is optional, tbd } } }) From e4724ee7006102e31d8a480c882974a1ffb631d6 Mon Sep 17 00:00:00 2001 From: Preston Arnold Date: Fri, 27 Mar 2026 14:37:38 +0000 Subject: [PATCH 4/4] Update subtitle --- .eleventy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eleventy.js b/.eleventy.js index ce66b4a..4d69f87 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -54,7 +54,7 @@ export default function (config) { metadata: { language: "en", title: "Dave Letorey", - subtitle: "", + subtitle: "Personal Blog of Dave Letorey", base: "https://letorey.co.uk/", author: { title: "Dave Letorey",