diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 898bbc4..71fe659 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -75,20 +75,20 @@
{{- if and (or .Params.mathjax (and .Site.Params.mathjax (ne .Params.mathjax false))) (or .IsPage .IsHome) }}
{{ if .Site.Params.mathjaxUseLocalFiles -}}
-
+
{{- else -}}
-
+
{{- end }}
{{- end }}