From 5c0a183a1d830479e4cfc705bdc9f13b2b1efac2 Mon Sep 17 00:00:00 2001 From: Starfall Date: Tue, 23 May 2023 12:14:00 -0500 Subject: feature: atom feed - add atom feed - add theme-colored feed icon to /blog/ --- eleventy.config.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'eleventy.config.js') diff --git a/eleventy.config.js b/eleventy.config.js index 36722b2..a33d908 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -1,5 +1,6 @@ const toml = require('@iarna/toml') const eleventyNavigation = require('@11ty/eleventy-navigation') +const eleventyRss = require('@11ty/eleventy-plugin-rss') filter_local_date = function(date) { // yyyy-MM-dd @@ -17,8 +18,10 @@ filter_rfc3339_datetime = function(date) { module.exports = function(eleventyConfig) { eleventyConfig.addPlugin(eleventyNavigation) + eleventyConfig.addPlugin(eleventyRss) eleventyConfig.addPassthroughCopy('./css/') + eleventyConfig.addPassthroughCopy('./img/') eleventyConfig.addFilter('local_date', filter_local_date) eleventyConfig.addFilter('rfc3339_datetime', filter_rfc3339_datetime) -- cgit