Upgrade RSS dep

This commit is contained in:
Zach Leatherman
2024-06-09 07:43:29 -05:00
parent df8fb9b546
commit c5045eb8f3
2 changed files with 10 additions and 16 deletions

View File

@@ -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",