improvement: 适配新版的 waline 夜间模式

This commit is contained in:
Jerry
2021-05-11 22:17:03 +08:00
parent 36527a3b81
commit 9e6958f25b
2 changed files with 3 additions and 2 deletions

View File

@@ -12,7 +12,8 @@ script.
path: location.pathname,
emojiCDN: '#{theme.waline.emojiCDN}',
emojiMaps: !{emojiMaps},
visitor: #{theme.waline.visitor}
visitor: #{theme.waline.visitor},
dark: '[data-theme="dark"]'
}, !{JSON.stringify(theme.waline.option)}))
}