From 19579486af2f96d758a1fe5fcd8884d9f23a7e02 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Mon, 18 Sep 2023 11:42:19 +0800 Subject: [PATCH] refactor: comment visible condition (#110) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改评论功能是否可用的判断方式。 see https://github.com/halo-dev/halo/pull/4271 /kind improvement ```release-note 修改评论功能是否可用的判断方式。 ``` --- templates/page.html | 7 ++----- templates/post.html | 7 ++----- theme.yaml | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/templates/page.html b/templates/page.html index 86b3b00..f0eb313 100644 --- a/templates/page.html +++ b/templates/page.html @@ -63,11 +63,8 @@

-
- -
+
+

评论

- -
+
+

评论

=2.6.0" \ No newline at end of file + require: ">=2.8.0"