From b16e592718ece5f2cd6cd44f6195a193c3cd689a Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Thu, 23 Aug 2018 09:48:21 +0800 Subject: [PATCH] livere --- layout/_partial/article.ejs | 15 ++++++++------- layout/_partial/scripts.ejs | 16 ++++++++-------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index 156a43b..dfc2a76 100755 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -73,21 +73,22 @@ <% } %> <% if (post.comments) { %> - <% if (config.livere_shortname || config.valine){ %> + <% if (config.disqus_shortname || config.livere_shortname || config.valine){ %>

  评论

<% } %> - <% if (config.livere_shortname){ %> + + <% if (config.disqus_shortname) { %>
-
- +
+ ⚠️ 无法加载评论系统,请确保您的网络能够正常访问 Disqus
<% } %> - <% if (config.disqus_shortname) { %> + <% if (config.livere_shortname){ %>
-
- ⚠️ 无法加载评论系统,请确保您的网络能够正常访问 Disqus 。 +
+
<% } %> diff --git a/layout/_partial/scripts.ejs b/layout/_partial/scripts.ejs index eb94bb7..5772d27 100755 --- a/layout/_partial/scripts.ejs +++ b/layout/_partial/scripts.ejs @@ -42,14 +42,14 @@ if(!ROOT.endsWith('/'))ROOT += '/'; <% } %> <% if (config.livere_shortname){ %> <% } %> <% if (config.valine){ %>