Browse Source
fix: handle empty ToC position value
pull/6185/head
v2.5.297
NGPixel
1 year ago
No known key found for this signature in database
GPG Key ID: 8FDA2F1757F60D63
1 changed files with
1 additions and
1 deletions
-
server/master.js
|
|
@ -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, |
|
|
|