diff --git a/site/layouts/_default/examples.html b/site/layouts/_default/examples.html
index 6142e29ad5..3fe1ac9bdd 100644
--- a/site/layouts/_default/examples.html
+++ b/site/layouts/_default/examples.html
@@ -44,13 +44,13 @@
{{ if ne .Page.Params.include_js false -}}
{{- if eq hugo.Environment "production" -}}
-
+
{{- else -}}
{{- end }}
{{ range .Page.Params.extra_js -}}
-
+
{{- end -}}
{{- end }}