diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index d78a2ee..67355d0 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,39 +1,39 @@
{{- if not (.Param "hideFooter") }}
{{- end }}
{{- if (not site.Params.disableScrollToTop) }}
-
+
{{- end }}
{{- partial "extend_footer.html" . }}
{{- if (not site.Params.disableScrollToTop) }}
{{- end }}
{{- if (not site.Params.disableThemeToggle) }}
{{- end }}
@@ -122,7 +120,6 @@
{{- if .IsPage }}
{{- partial "page_footer.html" . }}
-{{- else }}
{{- end}}
{{- /* Search */}}
@@ -144,7 +141,7 @@
{{- if (.Param "EnableInstantClick") }}
{{- $instantclick := resources.Get "js/instantclick.js" }}
{{- end }}
@@ -123,5 +123,5 @@
{{- end }}
{{- if not (.Param "noComments") }}
-{{ partial "comments_js.html" . }}
+ {{- partial "comments_js.html" . }}
{{ end }}