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 }}