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