diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generatePageLayout.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js index 5866ac26..313ca9a9 100644 --- a/src/content/dependencies/generatePageLayout.js +++ b/src/content/dependencies/generatePageLayout.js @@ -371,7 +371,7 @@ export default { const getSidebar = (side, id) => (html.isBlank(slots[side]) - ? null + ? html.blank() : slots[side].slots({ attributes: slots[side] @@ -386,10 +386,10 @@ export default { const hasSidebarRight = !html.isBlank(html.resolve(rightSidebar)); const collapseSidebars = - (leftSidebar + (hasSidebarLeft ? leftSidebar.getSlotValue('collapse') : true) && - (rightSidebar + (hasSidebarRight ? rightSidebar.getSlotValue('collapse') : true); |