diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index a9b2d32c4..24a20531f 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -36,23 +36,23 @@
{{ if $needKaTeX -}}
{{/* load stylesheet and scripts for KaTeX support */ -}}
-
+
{{/* The loading of KaTeX is deferred to speed up page rendering */ -}}
-
{{ if $needmhchem -}}
{{/* To add support for displaying chemical equations and physical units, load the mhchem extension: */ -}}
-
{{ end -}}
{{/* To automatically render math in text elements, include the auto-render extension: */ -}}
-
{{ end -}}