diff --git a/layout/_partial/tools.ejs b/layout/_partial/tools.ejs index b0bffde..c239a71 100644 --- a/layout/_partial/tools.ejs +++ b/layout/_partial/tools.ejs @@ -6,14 +6,14 @@ <% } %> - <% if (is_post()) { %> + <% if (is_post() && (theme.comments.valine.enable || theme.comments.gitalk.enable)) { %>