Use a public
folder here but this could be anything
This commit is contained in:
parent
0eababcbe5
commit
3bc945d523
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user