rename cookieEnabled to cookieBannerEnabled

This commit is contained in:
frascu 2022-09-07 10:37:30 +02:00
parent 8a6e295462
commit 3c8534f47a

View File

@ -163,7 +163,7 @@
{{- /* Misc */}} {{- /* Misc */}}
{{- if hugo.IsProduction | or (eq site.Params.env "production") }} {{- 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" . }} {{- template "partials/templates/cookie-consent.html" . }}
{{- else }} {{- else }}
{{- template "_internal/google_analytics.html" . }} {{- template "_internal/google_analytics.html" . }}