diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b704d95c..661250ca 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -163,7 +163,7 @@ {{- /* Misc */}} {{- if hugo.IsProduction | or (eq site.Params.env "production") }} -{{- if eq .Site.Params.cookieEnabled true }} +{{- if eq .Site.Params.cookieBannerEnabled true }} {{- template "partials/templates/cookie-consent.html" . }} {{- else }} {{- template "_internal/google_analytics.html" . }}