mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-24 03:36:53 -04:00
rename cookieEnabled to cookieBannerEnabled
This commit is contained in:
parent
8a6e295462
commit
3c8534f47a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue