summary refs log tree commit diff
path: root/eleventy.config.js
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2023-05-23 12:14:00 -0500
committerStarfall <us@starfall.systems>2023-05-24 12:51:23 -0500
commit5c0a183a1d830479e4cfc705bdc9f13b2b1efac2 (patch)
tree40dc719987731076bcdc80632aefa4e74b1817d5 /eleventy.config.js
parent1df389da097411e437aa33aa104132bc593e1ed4 (diff)
feature: atom feed
- add atom feed
- add theme-colored feed icon to /blog/
Diffstat (limited to 'eleventy.config.js')
-rw-r--r--eleventy.config.js3
1 files changed, 3 insertions, 0 deletions
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)