From def86097678e94b6af7c5cb83782d1fc81c94553 Mon Sep 17 00:00:00 2001 From: hankzhangcn <45102094+hankzhangcn@users.noreply.github.com> Date: Fri, 27 Nov 2020 15:50:58 +0800 Subject: [PATCH] Update gitalk.ejs --- layout/_partial/post/gitalk.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/_partial/post/gitalk.ejs b/layout/_partial/post/gitalk.ejs index d09e711..873cb13 100644 --- a/layout/_partial/post/gitalk.ejs +++ b/layout/_partial/post/gitalk.ejs @@ -1,4 +1,4 @@ -<% if (theme.gitalk.enable && post.comment!=false) { %> +<% if (theme.gitalk.enable && post.comments) { %>
<%- css('https://cdn.jsdelivr.net/npm/gitalk@1.6.2/dist/gitalk.css') %> <%- js('https://cdn.jsdelivr.net/npm/gitalk@1.6.2/dist/gitalk.min.js') %>