From f5c57c26a48fdd39804ad6350916a081c12572bf Mon Sep 17 00:00:00 2001 From: MHuiG <616001163@qq.com> Date: Sun, 21 Aug 2022 15:46:57 +0800 Subject: [PATCH] remove: mv --- .github/ISSUE_TEMPLATE/bug-report.md | 8 ----- README.md | 5 --- _config.yml | 11 +------ layout/_partial/article.ejs | 5 ++- layout/_partial/post/minivaline.ejs | 47 ---------------------------- 5 files changed, 3 insertions(+), 73 deletions(-) delete mode 100644 layout/_partial/post/minivaline.ejs diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index 5a54907..8b287d1 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -59,12 +59,4 @@ Please follow this Issue template to provide relevant information, such as sourc ``` -### MiniValine Configuration - - - -``` - -``` - ## Other Information diff --git a/README.md b/README.md index 9f18af3..7acad04 100644 --- a/README.md +++ b/README.md @@ -302,11 +302,6 @@ twikoo: enable: false envId: # -# 4、MiniValine -# See: https://github.com/MiniValine/MiniValine -minivaline: - enable: false - serverURL: https://minivaline.your-domain.com # advertisement # if there is an "ad" word in photo or url,it may blocked by adblock or any other browser extensions diff --git a/_config.yml b/_config.yml index 9fcb8b4..6482ce3 100644 --- a/_config.yml +++ b/_config.yml @@ -198,7 +198,7 @@ friends_link: url: https://github.com/Shen-Yu/hexo-tag-chart img: /images/hexo-tag-chart.png -# 评论:1、Valine(推荐);2、Gitalk;3、Twikoo; 4.MiniValine +# 评论:1、Valine(推荐);2、Gitalk;3、Twikoo; # 1、Valine[一款快速、简洁且高效的无后端评论系统](https://github.com/xCss/Valine) # 启用Valine必须先创建leancloud应用, 获取 id|key 填入即可 @@ -226,15 +226,6 @@ twikoo: enable: true envId: # -# 4、MiniValine -# See: https://github.com/MiniValine/MiniValine -minivaline: - enable: false - # 更多选项 https://minivaline.js.org/docs/cn/#/Options 按照yml格式继续填写即可 (除了 [el] 选项) - # emoticonUrl 等列表选项 可参考 https://github.com/MiniValine/hexo-next-minivaline - # 下面是一个例子: - serverURL: https://minivaline.your-domain.com - # 首页广告配置 # 可以根据需要自行增加ad_3,ad_4...,留空则不显示,建议图片和url不要带ad等关键词,否则可能会被adblock等插件屏蔽 ads: diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index 4f0f6fd..c1b3b82 100644 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -66,7 +66,6 @@ <% if (!index){ %> <%- partial('post/nav') %> <% } %> <% if (theme.valine && theme.valine.enable && !post.no_valine){ %> <%- partial('post/valine', { key: post.slug, title: post.title, url: config.url+url_for(post.path) }) %> <% } %> - <% if (is_post()) { %> <%- partial('post/gitalk') %> <% } %> <% if - (theme.minivaline && theme.minivaline.enable && !post.no_minivaline){ %> <%- - partial('post/minivaline') %> <% } %> <% if (is_post()) { %> <%- partial('post/twikoo') %> <% } %> + <% if (is_post()) { %> <%- partial('post/gitalk') %> <% } %> + <% if (is_post()) { %> <%- partial('post/twikoo') %> <% } %> diff --git a/layout/_partial/post/minivaline.ejs b/layout/_partial/post/minivaline.ejs deleted file mode 100644 index 4d8b33b..0000000 --- a/layout/_partial/post/minivaline.ejs +++ /dev/null @@ -1,47 +0,0 @@ -<% if (!index && post.comments){ %> - -
-
-
- - - -<% } %>