From a41eb685a9dc74b8cd51e79e288594f6b681d05d Mon Sep 17 00:00:00 2001 From: Reorx Date: Thu, 5 May 2022 14:14:39 +0800 Subject: [PATCH] fixup! use noComments to determine comments render --- layouts/partials/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 7748d4e..662fd2f 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -239,7 +239,7 @@ {{- end }} -{{ if (.Param "comments") }} +{{- if not (.Param "noComments") }} {{ partial "comments_js.html" . }} {{ end }}