From 8875a53da71744975ae1b42ae7d1202e91949fa5 Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Mon, 12 Jan 2026 17:21:16 -0500 Subject: [PATCH] handle publishing page width for standlone docs --- actions/publishToPublication.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actions/publishToPublication.ts b/actions/publishToPublication.ts index beb1b8fb..4f7e8b38 100644 --- a/actions/publishToPublication.ts +++ b/actions/publishToPublication.ts @@ -784,11 +784,13 @@ async function extractThemeFromFacts( root_entity, "theme/background-image-repeat", )?.[0]; + let pageWidth = scan.eav(root_entity, "theme/page-width")?.[0]; let theme: PubLeafletPublication.Theme = { showPageBackground: showPageBackground ?? true, }; + if (pageWidth) theme.pageWidth = pageWidth.data.value; if (pageBackground) theme.backgroundColor = ColorToRGBA(parseColor(`hsba(${pageBackground})`)); if (cardBackground) -- 2.51.2