fix: handle empty ToC position value

pull/6185/head v2.5.297
NGPixel 2 years ago
parent e495e0aaab
commit 490fab1173
No known key found for this signature in database
GPG Key ID: 8FDA2F1757F60D63

@ -149,7 +149,7 @@ module.exports = async () => {
title: WIKI.config.title,
theme: WIKI.config.theming.theme,
darkMode: WIKI.config.theming.darkMode,
tocPosition: WIKI.config.theming.tocPosition,
tocPosition: WIKI.config.theming.tocPosition || 'left',
lang: WIKI.config.lang.code,
rtl: WIKI.config.lang.rtl,
company: WIKI.config.company,

Loading…
Cancel
Save