diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f0f78dd260..c0af3d9448 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -26,13 +26,9 @@
{{ template "_internal/schema.html" . -}}
{{ template "_internal/twitter_cards.html" . -}}
{{ partialCached "head-css.html" . "asdf" -}}
-
+
{{ if .Site.Params.offlineSearch -}}
-
+
{{ end -}}
{{ if .Site.Params.prism_syntax_highlighting -}}