diff options
Diffstat (limited to 'eleventy.config.js')
-rw-r--r-- | eleventy.config.js | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/eleventy.config.js b/eleventy.config.js index 0b839ca..f187c91 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -1,5 +1,5 @@ import { InputPathToUrlTransformPlugin } from "@11ty/eleventy"; -import { feedPlugin } from "@11ty/eleventy-plugin-rss"; +import pluginRss from "@11ty/eleventy-plugin-rss"; import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight"; import anchor from "markdown-it-anchor"; @@ -62,23 +62,7 @@ export default function (eleventyConfig) { Prism.languages.text = {}; }, }); - eleventyConfig.addPlugin(feedPlugin, { - type: "atom", - outputPath: "/feed.xml", - collection: { - name: "post", - limit: 0, - }, - metadata: { - language: "en", - title: "boringcactus", - subtitle: "boringcactus’s blog posts", - base: "https://www.boringcactus.com/", - author: { - name: "boringcactus / Melody Horn", - }, - }, - }); + eleventyConfig.addPlugin(pluginRss); eleventyConfig.amendLibrary("md", (mdLib) => mdLib.use(anchor)); |