From 3bdb0a807365b525288eff3652305d13b9cf5ca9 Mon Sep 17 00:00:00 2001 From: RiskoZoSlovenska Date: Mon, 16 Dec 2024 00:25:41 -0500 Subject: [PATCH] Update to new stories format --- build-scripts/compile-stories.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-scripts/compile-stories.lua b/build-scripts/compile-stories.lua index 469beba..f41f32d 100644 --- a/build-scripts/compile-stories.lua +++ b/build-scripts/compile-stories.lua @@ -129,6 +129,10 @@ local function compileSinglePartWork(dirMap, partName) assert(utils.writefile(storyFileName, rendered)) + if meta.list == false then -- Pretend it wasn't published if it shouldn't be listed + return nil + end + return { type = dirMap.type, name = partName,