diff --git a/layouts/partials/footer_custom.html b/layouts/partials/footer_custom.html
index d11b994..ad50e00 100644
--- a/layouts/partials/footer_custom.html
+++ b/layouts/partials/footer_custom.html
@@ -1,3 +1,4 @@
+{{ if (.Params.comments) | or (and (or (not (isset .Params "comments")) (eq .Params.comments nil)) (and .Site.Params.comments (ne .Type "page"))) }}
{{ if or (eq (substr .RelPermalink 0 6) "/post/") (eq (substr .RelPermalink 0 6) "/page/") }}
{{ end }}
+{{ end }}
\ No newline at end of file