label: 3.5.0

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

View File

@@ -83,7 +83,7 @@
when 'Gitalk'
+countBlock
a(href=url_for(page.path) + '#post-comment')
span.gitalk-#card-toc
span.gitalk-comment-count
when 'Twikoo'
+countBlock
a(href=url_for(page.path) + '#post-comment')

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)}) {

View File

@@ -80,7 +80,7 @@ script.
'content': changeContent(e.comment),
'mail': e.mail,
'nick': e.nick,
'url': e.url,
'url': e.url + '#' + e.objectId,
'date': e.createdAt,
}
})

View File

@@ -63,7 +63,7 @@ script.
'content': changeContent(e.comment),
'mail': e.mail,
'nick': e.nick,
'url': e.url,
'url': e.url + '#' + e.objectId,
'date': e.createdAt,
}
})