Skip to content

Commit

Permalink
Remove remains of deprecated Site.GoogleAnalytics
Browse files Browse the repository at this point in the history
  • Loading branch information
filvuk committed Sep 2, 2024
1 parent ec9127e commit fa6bec3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down
Original file line number Diff line number Diff line change
@@ -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 */}}
Expand Down

0 comments on commit fa6bec3

Please # to comment.