From 60958245cea5de72dab2a2b466faddd6d8c6a15e Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 13 Mar 2021 23:31:52 +0800 Subject: [PATCH] =?UTF-8?q?valine=20=E6=8C=89=E9=9C=80=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml | 2 +- .../plugins/comments/valine/script.ejs | 77 ++++++------ layout/_partial/scripts/index.ejs | 92 +++++++++++++- source/css/_plugins/comments/valine.styl | 40 ++++-- source/js/main.js | 114 ++---------------- 5 files changed, 177 insertions(+), 148 deletions(-) diff --git a/_config.yml b/_config.yml index ef424a0..e432754 100755 --- a/_config.yml +++ b/_config.yml @@ -30,7 +30,7 @@ sidebar: # Recent update recent: layout: recent - rss: /atom.xml # npm i hexo-generator-feed + rss: # /atom.xml # npm i hexo-generator-feed limit: 5 # Count of posts # TOC (valid only in layout:post/wiki) toc: diff --git a/layout/_partial/plugins/comments/valine/script.ejs b/layout/_partial/plugins/comments/valine/script.ejs index ca71ac8..300a298 100644 --- a/layout/_partial/plugins/comments/valine/script.ejs +++ b/layout/_partial/plugins/comments/valine/script.ejs @@ -1,41 +1,48 @@ -<%- js(theme.comments.valine.js) %> diff --git a/layout/_partial/scripts/index.ejs b/layout/_partial/scripts/index.ejs index 19c9d51..4cd90bb 100644 --- a/layout/_partial/scripts/index.ejs +++ b/layout/_partial/scripts/index.ejs @@ -1,5 +1,95 @@