a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

handle publishing page width for standlone docs

+2
+2
actions/publishToPublication.ts
··· 784 784 root_entity, 785 785 "theme/background-image-repeat", 786 786 )?.[0]; 787 + let pageWidth = scan.eav(root_entity, "theme/page-width")?.[0]; 787 788 788 789 let theme: PubLeafletPublication.Theme = { 789 790 showPageBackground: showPageBackground ?? true, 790 791 }; 791 792 793 + if (pageWidth) theme.pageWidth = pageWidth.data.value; 792 794 if (pageBackground) 793 795 theme.backgroundColor = ColorToRGBA(parseColor(`hsba(${pageBackground})`)); 794 796 if (cardBackground)