diff --git a/.eleventy.js b/.eleventy.js index d81c6d2..b65feb9 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -4,15 +4,15 @@ module.exports = function(eleventyConfig) { eleventyConfig.addPassthroughCopy("src/css"); eleventyConfig.addPassthroughCopy("assets"); - // Decap CMS admin panel + // Decap CMS admin panel - copy entire folder without template processing eleventyConfig.addPassthroughCopy("admin"); - // Mobile task manager - IGNORE, don't process as template - eleventyConfig.ignores.add("admin/mobile.html"); - eleventyConfig.addPassthroughCopy("admin/mobile.html"); - - // Tasks folder + // Tasks folder - copy without template processing eleventyConfig.addPassthroughCopy("tasks"); + + // Tell 11ty to ignore these folders completely (don't try to render as templates) + eleventyConfig.ignores.add("admin/**"); + eleventyConfig.ignores.add("tasks/**"); return { dir: {