fix: handle empty ToC position value
This commit is contained in:
parent
e495e0aaab
commit
490fab1173
@ -149,7 +149,7 @@ module.exports = async () => {
|
|||||||
title: WIKI.config.title,
|
title: WIKI.config.title,
|
||||||
theme: WIKI.config.theming.theme,
|
theme: WIKI.config.theming.theme,
|
||||||
darkMode: WIKI.config.theming.darkMode,
|
darkMode: WIKI.config.theming.darkMode,
|
||||||
tocPosition: WIKI.config.theming.tocPosition,
|
tocPosition: WIKI.config.theming.tocPosition || 'left',
|
||||||
lang: WIKI.config.lang.code,
|
lang: WIKI.config.lang.code,
|
||||||
rtl: WIKI.config.lang.rtl,
|
rtl: WIKI.config.lang.rtl,
|
||||||
company: WIKI.config.company,
|
company: WIKI.config.company,
|
||||||
|
Loading…
Reference in New Issue
Block a user