diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 2cbe2f870f..9cc401bbbb 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -80,5 +80,4 @@
{{ end -}}
-
-{{- partial "hooks/body-end.html" . -}}
+{{ partial "hooks/body-end.html" . -}}