fix: handle empty ToC position value

This commit is contained in:
NGPixel 2023-02-16 23:58:52 -05:00
parent e495e0aaab
commit 490fab1173
No known key found for this signature in database
GPG Key ID: 8FDA2F1757F60D63

View File

@ -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,