mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 22:14:08 +00:00
feat: support latest Hugo version - remove remains of deprecated Site.GoogleAnalytics (#3139)
This commit is contained in:
1 parent
927fddeb50
commit
9b7e44a06e
2 files changed
+2
-2
No files matched your search
@@ -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 }}
|
||||
|
||||
@@ -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 */}}
|
||||
|
||||
Reference in new issue
Block a user