diff options
Diffstat (limited to 'src/write')
-rw-r--r-- | src/write/page-template.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/write/page-template.js b/src/write/page-template.js index e0b37d49..663c1d90 100644 --- a/src/write/page-template.js +++ b/src/write/page-template.js @@ -242,6 +242,7 @@ export function generateDocumentHTML(pageInfo, { : multiple ? html.tag('div', { + [html.onlyIfContent]: true, id, class: [ 'sidebar-column', @@ -252,6 +253,7 @@ export function generateDocumentHTML(pageInfo, { ], }, multiple + .filter(Boolean) .map((infoOrContent) => (typeof infoOrContent === 'object' && !Array.isArray(infoOrContent)) ? infoOrContent |