.eleventy.js - pass through with rename of assets and images

rc/index.html - update path following passthrough rename
This commit is contained in:
Nick Stokoe
2023-05-09 14:30:07 +01:00
parent 6b97640b61
commit 65813f28f5
2 changed files with 3 additions and 2 deletions

View File

@@ -5,7 +5,8 @@ module.exports = function(eleventyConfig) {
return collection.getFilteredByGlob(src+'/_articles/*.md');
});
eleventyConfig.addPassthroughCopy("src/_images");
eleventyConfig.addPassthroughCopy({ "src/_images" : "images" });
eleventyConfig.addPassthroughCopy({ "src/assets" : "assets" });
return {
dir: {