From fa6bec3497fa369294908a9bb6beab4517d4d4fa Mon Sep 17 00:00:00 2001 From: filvuk <136091729+filvuk@users.noreply.github.com> Date: Mon, 2 Sep 2024 09:49:12 +0200 Subject: [PATCH] Remove remains of deprecated Site.GoogleAnalytics --- .../blox-bootstrap/layouts/partials/components/feedback.html | 2 +- modules/blox-tailwind/layouts/partials/components/feedback.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/blox-bootstrap/layouts/partials/components/feedback.html b/modules/blox-bootstrap/layouts/partials/components/feedback.html index 22f193ce5..5cbae9223 100644 --- a/modules/blox-bootstrap/layouts/partials/components/feedback.html +++ b/modules/blox-bootstrap/layouts/partials/components/feedback.html @@ -1,4 +1,4 @@ -{{ $ga := site.Params.marketing.analytics.google_analytics | default site.GoogleAnalytics | default "" }} +{{ $ga := site.Params.marketing.analytics.google_analytics | default "" }} {{ $show_feedback := .Params.feedback | default true }} {{ if hugo.IsProduction | and $ga | and $show_feedback }} diff --git a/modules/blox-tailwind/layouts/partials/components/feedback.html b/modules/blox-tailwind/layouts/partials/components/feedback.html index ebb713c6e..5087dd0c9 100644 --- a/modules/blox-tailwind/layouts/partials/components/feedback.html +++ b/modules/blox-tailwind/layouts/partials/components/feedback.html @@ -1,5 +1,5 @@ {{/* TODO: port JS & response text from Bootstrap module. Re-integrate with GA plus Fathom/Plausible */}} -{{/* $ga := site.Params.marketing.analytics.google_analytics | default site.GoogleAnalytics | default "" */}} +{{/* $ga := site.Params.marketing.analytics.google_analytics | default "" */}} {{ $show_feedback := .Params.feedback | default true }} {{ if hugo.IsProduction | and $show_feedback }}{{/* | and $ga */}}