diff --git a/.eleventy.js b/.eleventy.js index e7bf6da..741af7f 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -8,9 +8,9 @@ const { EleventyI18nPlugin } = require("@11ty/eleventy"); module.exports = function(eleventyConfig) { eleventyConfig.ignores.add("README.md"); - // Copy the `img` and `css` folders to the output - eleventyConfig.addPassthroughCopy("img"); - eleventyConfig.addPassthroughCopy("css"); + // Copy the contents of the `public` folder to the output folder + // For example, `./public/css/` ends up in `_site/css/` + eleventyConfig.addPassthroughCopy({"./public/": "/"}); // Add plugins eleventyConfig.addPlugin(pluginRss); diff --git a/css/index.css b/public/css/index.css similarity index 100% rename from css/index.css rename to public/css/index.css diff --git a/css/prism-base16-monokai.dark.css b/public/css/prism-base16-monokai.dark.css similarity index 100% rename from css/prism-base16-monokai.dark.css rename to public/css/prism-base16-monokai.dark.css diff --git a/css/prism-diff.css b/public/css/prism-diff.css similarity index 100% rename from css/prism-diff.css rename to public/css/prism-diff.css diff --git a/img/.gitkeep b/public/img/.gitkeep similarity index 100% rename from img/.gitkeep rename to public/img/.gitkeep