fix: ignore theme/ directory in Eleventy to prevent duplicate permalink conflicts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
svemagie
2026-03-07 17:33:16 +01:00
co-authored by Claude Sonnet 4.6
parent 54bdf7f0b5
commit 091d54b509
+3
View File
@@ -43,6 +43,9 @@ export default function (eleventyConfig) {
// Ignore interactive assets (served via passthrough copy, not processed as templates) // Ignore interactive assets (served via passthrough copy, not processed as templates)
eleventyConfig.ignores.add("interactive"); eleventyConfig.ignores.add("interactive");
eleventyConfig.ignores.add("interactive/**"); eleventyConfig.ignores.add("interactive/**");
// Ignore theme/ subdirectory (contains theme source files, not site content)
eleventyConfig.ignores.add("theme");
eleventyConfig.ignores.add("theme/**");
// Configure watch targets to exclude output directory // Configure watch targets to exclude output directory
eleventyConfig.watchIgnores.add("_site"); eleventyConfig.watchIgnores.add("_site");