fix: valine notify
This commit is contained in:
parent
d1534ef60e
commit
9fac2a8e2c
@ -99,6 +99,7 @@ leancloud:
|
||||
valine:
|
||||
enable: true # 是否启用
|
||||
verify: false # 是否启用防垃圾验证
|
||||
notify: false # 是否开启邮件提醒(https://valine.js.org/notify.html)
|
||||
avatar: mp # 头像样式(https://valine.js.org/avatar.html)
|
||||
placeholder: 给我的文章加点评论吧~ # placeholder
|
||||
|
||||
|
@ -9,11 +9,11 @@
|
||||
<script>
|
||||
new Valine({
|
||||
el: '#vcomments',
|
||||
notify: false,
|
||||
verify: '<%- theme.leancloud.verify %>',
|
||||
app_id: '<%- theme.leancloud.app_id %>',
|
||||
app_key: '<%- theme.leancloud.app_key %>',
|
||||
path: window.location.pathname,
|
||||
notify: '<%- theme.valine.notify %>',
|
||||
verify: '<%- theme.valine.verify %>',
|
||||
avatar: '<%- theme.valine.avatar %>',
|
||||
placeholder: '<%- theme.valine.placeholder %>',
|
||||
recordIP: true
|
||||
|
Loading…
Reference in New Issue
Block a user