From 3c8534f47ada46f02ee1f81b9dbd480a71ec7c89 Mon Sep 17 00:00:00 2001 From: frascu Date: Wed, 7 Sep 2022 10:37:30 +0200 Subject: [PATCH] rename cookieEnabled to cookieBannerEnabled --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" . }}