diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 753d3311b4..ccfb47f8f1 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -6,7 +6,7 @@ {{- else -}} {{- end -}} -{{- if eq hugo.Environment "production" -}} +{{- if in (slice "production" "nonprod") hugo.Environment -}}