diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index ae99a4ac..1e3fecb8 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -28,7 +28,7 @@
{{- $js := "" -}}
{{- range .Site.Params.customJs -}}
- {{- if or (in . "http://") (in . "https://") -}}
+ {{- if or (in . "http://") (in . "https://") -}}
{{- else -}}
{{- $customJS := resources.Get . -}}