Skip to content

Commit

Permalink
add rss feed
Browse files Browse the repository at this point in the history
  • Loading branch information
uuupah committed Feb 6, 2024
1 parent a68dda4 commit c66c894
Show file tree
Hide file tree
Showing 4 changed files with 219 additions and 162 deletions.
3 changes: 3 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
const htmlmin = require("html-minifier");
const rimraf = require("rimraf");
const cleancss = require("clean-css");
const pluginRss = require("@11ty/eleventy-plugin-rss");

module.exports = function (eleventyConfig) {
// delete contents of public to ensure removed files are removed from the final build
rimraf.windows.sync("public/")

eleventyConfig.addPlugin(pluginRss);

eleventyConfig.addPassthroughCopy("./src/_assets/css");
eleventyConfig.addPassthroughCopy("./src/_assets/img");
eleventyConfig.addPassthroughCopy("./src/_assets/fonts");
Expand Down
Loading

0 comments on commit c66c894

Please sign in to comment.