From f74772420b8e6ef35f80613a2ee24eeade903b39 Mon Sep 17 00:00:00 2001 From: Dirty REdOG Date: Sat, 4 Jul 2026 18:56:07 -0500 Subject: [PATCH] fix: enable archive routing and dynamic volume numbering --- content/editions/editions.json | 4 ++++ eleventy.config.js | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 content/editions/editions.json diff --git a/content/editions/editions.json b/content/editions/editions.json new file mode 100644 index 0000000..b114c6e --- /dev/null +++ b/content/editions/editions.json @@ -0,0 +1,4 @@ +{ + "layout": "edition", + "volume": 1 +} diff --git a/eleventy.config.js b/eleventy.config.js index dbbf1f0..02892c8 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -42,6 +42,10 @@ module.exports = function(eleventyConfig) { return roman; }); + eleventyConfig.addCollection("editions", function(collectionApi) { + return collectionApi.getFilteredByGlob("content/editions/*/index.md"); + }); + // 5. Directory configuration (integrated into the same function) return { dir: {