label: 3.5.0

This commit is contained in:
Jerry
2020-12-30 23:26:54 +08:00
parent 80c03b15b1
commit 3b72c87996
9 changed files with 37 additions and 34 deletions

View File

@@ -1,4 +1,7 @@
- let option = theme.waline.option ? JSON.stringify(theme.waline.option) : false
- let emojiMaps = '""'
if site.data.waline
- emojiMaps = JSON.stringify(site.data.waline)
script.
function loadWaline () {
@@ -8,6 +11,8 @@ script.
serverURL: '!{theme.waline.serverURL}',
avatar: '#{theme.waline.avatar}',
path: location.pathname,
emojiCDN: '#{theme.waline.emojiCDN}',
emojiMaps: !{emojiMaps},
}
if (!{Boolean(option)}) {