mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-10 21:17:07 +08:00
label: 3.5.0
This commit is contained in:
@@ -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)}) {
|
||||
|
||||
Reference in New Issue
Block a user