mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-23 18:10:52 +02:00
Remove remains of deprecated Site.GoogleAnalytics
This commit is contained in:
parent
ec9127eaf8
commit
fa6bec3497
2 changed files with 2 additions and 2 deletions
|
@ -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 }}
|
{{ $show_feedback := .Params.feedback | default true }}
|
||||||
|
|
||||||
{{ if hugo.IsProduction | and $ga | and $show_feedback }}
|
{{ 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 */}}
|
{{/* 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 }}
|
{{ $show_feedback := .Params.feedback | default true }}
|
||||||
|
|
||||||
{{ if hugo.IsProduction | and $show_feedback }}{{/* | and $ga */}}
|
{{ if hugo.IsProduction | and $show_feedback }}{{/* | and $ga */}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue