diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 31ee641bed..0143398f17 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -3,10 +3,10 @@
{{ . }} {{ with $.Date }} {{ .Format "02/01/2006" }}{{ end }}
{{- end }}
+
{{- if .Params.chapter }}
{{- end }}
-
{{- partial "custom-comments.html" . }}