diff --git a/_config.yml b/_config.yml index ff5da35..b137eb5 100644 --- a/_config.yml +++ b/_config.yml @@ -112,19 +112,19 @@ layout: article_width: 80rem sidebar_width: 8rem -# 评论:1、Valine(推荐);2、Gitalk;3、MiniValine +# 评论:1、Valine(推荐);2、Gitalk # 1、Valine[一款快速、简洁且高效的无后端评论系统](https://github.com/xCss/Valine) # 启用Valine必须先创建leancloud应用, 获取 id|key 填入即可 leancloud: enable: true - app_id: # - app_key: # + app_id: chaSYi8FMdJBwzIBpxeNjqWC-gzGzoHsz + app_key: PqqkLYgPkHvH1BmyQqySWnSK # Valine配置 valine: enable: true # 是否启用 verify: false # 是否启用防垃圾验证 - notify: false # 是否开启邮件提醒(https://valine.js.org/notify.html) + notify: true # 是否开启邮件提醒(https://valine.js.org/notify.html) avatar: monsterid # 头像样式(https://valine.js.org/avatar.html) placeholder: 给我的文章加点评论吧~ # placeholder diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index b9ae2bc..5d0dfcc 100644 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -81,9 +81,5 @@ <% if (is_post()) { %> <%- partial('post/gitalk') %> <% } %> - - <% if (theme.minivaline && theme.minivaline.enable && !post.no_minivaline){ %> - <%- partial('post/minivaline') %> - <% } %> \ No newline at end of file diff --git a/layout/_partial/post/minivaline.ejs b/layout/_partial/post/minivaline.ejs deleted file mode 100644 index c94b1ba..0000000 --- a/layout/_partial/post/minivaline.ejs +++ /dev/null @@ -1,49 +0,0 @@ -<% if (!index && theme.leancloud && theme.leancloud.enable){ %> - -
-
-
-
- - - -<% } %> \ No newline at end of file