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, path: location.pathname,
emojiCDN: '#{theme.waline.emojiCDN}', emojiCDN: '#{theme.waline.emojiCDN}',
emojiMaps: !{emojiMaps}, emojiMaps: !{emojiMaps},
visitor: #{theme.waline.visitor} visitor: #{theme.waline.visitor},
dark: '[data-theme="dark"]'
}, !{JSON.stringify(theme.waline.option)})) }, !{JSON.stringify(theme.waline.option)}))
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "hexo-theme-butterfly", "name": "hexo-theme-butterfly",
"version": "3.7.6", "version": "3.7.7",
"description": "A Simple and Card UI Design theme for Hexo", "description": "A Simple and Card UI Design theme for Hexo",
"main": "package.json", "main": "package.json",
"scripts": { "scripts": {