From c5045eb8f303a01e3bf643ea55a597cbfc1c9eb3 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Sun, 9 Jun 2024 07:43:29 -0500 Subject: [PATCH] Upgrade RSS dep --- eleventy.config.js | 24 +++++++++--------------- package.json | 2 +- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/eleventy.config.js b/eleventy.config.js index 72bcb31..98004b2 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -33,24 +33,18 @@ export default async function(eleventyConfig) { // Official plugins eleventyConfig.addPlugin(feedPlugin, { - files: { - json: "/feed/feed.json", - atom: "/feed/feed.xml", - // "rss": "/feed/rss.xml", - }, - stylesheet: { - atom: "pretty-atom-feed.xsl", - }, + outputPath: "/feed/feed.xml", + stylesheet: "pretty-atom-feed.xsl", templateData: { - atom: { - eleventyNavigation: { - key: "Feed", - order: 3 - } + eleventyNavigation: { + key: "Feed", + order: 3 } }, - collectionName: "posts", - limit: 10, + collection: { + name: "posts", + limit: 10, + }, metadata: { language: "en", title: "Blog Title", diff --git a/package.json b/package.json index 58e7bee..d50cd20 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@11ty/eleventy": "3.0.0-alpha.10", "@11ty/eleventy-img": "5.0.0-beta.4", "@11ty/eleventy-navigation": "^0.3.5", - "@11ty/eleventy-plugin-rss": "^2.0.0-beta.5", + "@11ty/eleventy-plugin-rss": "^2.0.0-beta.6", "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0", "luxon": "^3.4.4", "markdown-it-anchor": "^8.6.7",