diff options
| author | Reorx <novoreorx@gmail.com> | 2022-05-05 14:14:39 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-05-05 14:14:39 +0800 |
| commit | a41eb685a9dc74b8cd51e79e288594f6b681d05d (patch) | |
| tree | 2560f7a27a41a01f3933374aa7089431d381f96d | |
| parent | 998ce46fb623fb3c6b2ad9b2e530d21f6201a928 (diff) | |
fixup! use noComments to determine comments render
| -rw-r--r-- | layouts/partials/footer.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ </script> {{- end }} -{{ if (.Param "comments") }} +{{- if not (.Param "noComments") }} {{ partial "comments_js.html" . }} {{ end }} |
