Replace .eleventyignore manipulation with programmatic ignores

- Root config now excludes stefankoelle/timecapsule via eleventyConfig.ignores
- .eleventyignore stays static (no runtime edits)
- start-dev.sh simplified: no .bak/.tmp dance, no sleep ordering
- All 3 dev servers (8081/8086/8087) run in parallel without crashes
This commit is contained in:
2026-09-11 21:47:45 +02:00
parent 7e4bc4884f
commit 17a2098b9b
3 changed files with 5 additions and 16 deletions
+4
View File
@@ -10,6 +10,10 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addGlobalData("site", { url: "https://www.moonweb.org" });
eleventyConfig.addFilter("date", (d) => d.toISOString());
// Exclude the standalone sites from the root (moonweb) build
eleventyConfig.ignores.add("stefankoelle/**");
eleventyConfig.ignores.add("timecapsule/**");
// Computed pathPrefix based on page's section front matter
eleventyConfig.addGlobalData("eleventyComputed", {
pathPrefix: (data) => SITES[data.section]?.pathPrefix ?? "",