diff --git a/_config.yml b/_config.yml index 35be824..431be4a 100644 --- a/_config.yml +++ b/_config.yml @@ -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: diff --git a/layout/_partial/comments/valine.ejs b/layout/_partial/comments/valine.ejs index b0dcb29..b1271d4 100755 --- a/layout/_partial/comments/valine.ejs +++ b/layout/_partial/comments/valine.ejs @@ -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() })