From 48d03030a8cf2c8f0d73acb9d11e4243ee803a43 Mon Sep 17 00:00:00 2001 From: shen-yu <448766534@qq.com> Date: Sun, 7 Jun 2020 09:59:30 +0800 Subject: [PATCH] :package: update: valine --- _config.yml | 8 ++-- layout/_partial/post/valine.ejs | 69 ++++++++++++++++----------------- 2 files changed, 36 insertions(+), 41 deletions(-) diff --git a/_config.yml b/_config.yml index 33cd4b2..0068cf5 100644 --- a/_config.yml +++ b/_config.yml @@ -97,7 +97,7 @@ rss: /atom.xml darkmode: true # 动态背景效果: 0-关闭,1-动态线条(跟随鼠标) -canvas_bg: 1 +canvas_bg: 0 # 自定义鼠标样式,直接替换/images/mouse.cur文件 mouse: @@ -118,13 +118,11 @@ layout: # 启用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) avatar: monsterid # 头像样式(https://valine.js.org/avatar.html) placeholder: 给我的文章加点评论吧~ # placeholder diff --git a/layout/_partial/post/valine.ejs b/layout/_partial/post/valine.ejs index fef14fb..39c9a97 100644 --- a/layout/_partial/post/valine.ejs +++ b/layout/_partial/post/valine.ejs @@ -1,51 +1,48 @@ <% if (!index && theme.leancloud && theme.leancloud.enable){ %>
-
-
+
- + -<% } %> \ No newline at end of file +<% } %>