mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
rename cookieEnabled to cookieBannerEnabled
This commit is contained in:
parent
8a6e295462
commit
3c8534f47a
@ -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" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user