Skip to content

Commit

Permalink
feat: support latest Hugo version - remove remains of deprecated Site…
Browse files Browse the repository at this point in the history
….GoogleAnalytics (#3139)
  • Loading branch information
filvuk authored Sep 7, 2024
1 parent 927fdde commit 9b7e44a
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 9b7e44a

Please sign in to comment.