Use a public folder here but this could be anything

This commit is contained in:
Zach Leatherman 2022-07-15 14:53:32 -05:00
parent 0eababcbe5
commit 3bc945d523
5 changed files with 3 additions and 3 deletions

View File

@ -8,9 +8,9 @@ const { EleventyI18nPlugin } = require("@11ty/eleventy");
module.exports = function(eleventyConfig) { module.exports = function(eleventyConfig) {
eleventyConfig.ignores.add("README.md"); eleventyConfig.ignores.add("README.md");
// Copy the `img` and `css` folders to the output // Copy the contents of the `public` folder to the output folder
eleventyConfig.addPassthroughCopy("img"); // For example, `./public/css/` ends up in `_site/css/`
eleventyConfig.addPassthroughCopy("css"); eleventyConfig.addPassthroughCopy({"./public/": "/"});
// Add plugins // Add plugins
eleventyConfig.addPlugin(pluginRss); eleventyConfig.addPlugin(pluginRss);