diff --git a/source/foxsay/index.md b/source/foxsay/index.md index 59c8afa..b300921 100644 --- a/source/foxsay/index.md +++ b/source/foxsay/index.md @@ -1,6 +1,8 @@ --- title: 狐说 date: 2021-07-11 17:45:57 +no_comment: true +toc: true --- diff --git a/source/go/index.md b/source/go/index.md index e4b41c1..e18381d 100644 --- a/source/go/index.md +++ b/source/go/index.md @@ -1,6 +1,7 @@ --- title: go date: 2021-12-31 22:00:00 +no_comment: true --- diff --git a/source/travellings/index.md b/source/travellings/index.md index 173b5da..473e676 100644 --- a/source/travellings/index.md +++ b/source/travellings/index.md @@ -1,6 +1,7 @@ --- title: travellings date: 2021-03-23 23:45:06 +no_comment: true --- diff --git a/themes/freemind/layout/_partial/post/comment_footer.ejs b/themes/freemind/layout/_partial/post/comment_footer.ejs index d01aefd..f944fa5 100644 --- a/themes/freemind/layout/_partial/post/comment_footer.ejs +++ b/themes/freemind/layout/_partial/post/comment_footer.ejs @@ -1,18 +1,22 @@ -
如不想授权 Giscus 应用,也可以点击下方左上角数字直接跳转到 Github Discussions 进行评论。-<% if (theme.enable_comment) { %> - - +<% if (item.no_comment){ %> + +<% } else { %> +
如不想授权 Giscus 应用,也可以点击下方左上角数字直接跳转到 Github Discussions 进行评论。+ <% if (theme.enable_comment) { %> + + + <% } %> <% } %>