Skip to content

Commit

Permalink
update valine comment plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
XPoet committed Apr 24, 2020
1 parent cd153f5 commit 43d8703
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions layout/_partial/comments/valine.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down

0 comments on commit 43d8703

Please sign in to comment.