Set up RSS/Atom/JSON feeds for blog

This commit is contained in:
2025-03-26 23:04:06 -04:00
parent 295f424922
commit 06e09365fd
7 changed files with 276 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
import pugPlugin from "@11ty/eleventy-plugin-pug";
import rssPlugin from "@11ty/eleventy-plugin-rss";
import brokenLinksPlugin from "eleventy-plugin-broken-links";
import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight";
@@ -10,6 +11,7 @@ export default function (eleventyConfig) {
eleventyConfig.setInputDirectory("src")
eleventyConfig.addPlugin(brokenLinksPlugin);
eleventyConfig.addPlugin(pugPlugin);
eleventyConfig.addPlugin(rssPlugin);
eleventyConfig.addPlugin(syntaxHighlight);
eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
htmlOptions: {