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:
co-authored by
Claude Sonnet 4.6
parent
54bdf7f0b5
commit
091d54b509
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user