update valine comment plugin

This commit is contained in:
XPoet 2020-04-24 22:02:10 +08:00
parent cd153f5fb9
commit 43d870327d
2 changed files with 9 additions and 10 deletions

View File

@ -1,7 +1,7 @@
# theme basic info
theme_info:
name: ILS
version: 1.0
version: 1.0.2
author: XPoet
repository: https://github.com/XPoet/hexo-theme-ils
@ -25,13 +25,12 @@ comments:
# Valine.
# more info please open https://github.com/xCss/Valine
valine:
enable: false
appid: # your leancloud application appid
appkey: # your leancloud application appkey
notify: false # mail notifier, https://github.com/xCss/Valine/wiki
verify: false # Verification code
placeholder: your placeholder
enable: false # true or false
appid: # your leancloud application appid
appkey: # your leancloud application appkey
meta: # type: Array, default: ['nick','mail','link']
placeholder: Please share your thoughts with us in the comments below! #your placeholder
# Gitalk
# For more information: https://gitalk.github.io, https://github.com/gitalk/gitalk
gitalk:

View File

@ -11,9 +11,9 @@
el: '#vcomments',
appId: '<%= theme.comments.valine.appid %>',
appKey: '<%= theme.comments.valine.appkey %>',
notify: '<%= theme.comments.valine.notify %>',
verify: '<%= theme.comments.valine.verify %>',
meta: '<%= theme.comments.valine.meta %>',
avatar: 'wavatar',
enableQQ: true,
placeholder: '<%= theme.comments.valine.placeholder %>',
lang: '<%= config.language %>'.toLowerCase()
})