Files
firefrost-website/.eleventy.js
Claude 4352ae1021 Configure 11ty to include tasks.html in build
Added tasks.html as passthrough copy so it gets included in _site/ output.
This ensures Cloudflare Pages deploys the mobile task manager.
2026-04-07 23:26:24 +00:00

20 lines
523 B
JavaScript

module.exports = function(eleventyConfig) {
// Critical: Tell 11ty to copy CSS and Images directly to the build folder
// Without this, your styles and images won't appear in the _site output
eleventyConfig.addPassthroughCopy("src/css");
eleventyConfig.addPassthroughCopy("assets");
// Decap CMS admin panel
eleventyConfig.addPassthroughCopy("admin");
// Mobile task manager
eleventyConfig.addPassthroughCopy("tasks.html");
return {
dir: {
input: ".",
output: "_site"
}
};
};