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){ %>