diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index a1f4af0f..779cd697 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -17,9 +17,9 @@
{{- partial "extend_footer.html" . -}}
{{ if in site.Params.mainSections .Type }}
-{{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | minify | fingerprint -}}
-
-
+{{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | minify | fingerprint }}
+
{{- end }}
{{- if (not .Site.Params.disableThemeToggle) }}
{{- else -}}
{{/* case where owner disables theme button after deployment, this resets the stored theme */}}
{{- end }}