mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
06.35.2024 fc7c5df003dc9dce2cb5d40faa06b2833514f93b
fix: remove async version of Google Analytics
1 files modified
2 ■■■■■ changed files
layouts/partials/footer.html 2 ●●●●● patch | view | raw | blame | history
layouts/partials/footer.html
@@ -29,8 +29,6 @@
{{- partial "math.html" .context -}}
{{- if (hasPrefix .context.Site.GoogleAnalytics "G-") -}}
  {{- template "_internal/google_analytics.html" .context -}}
{{- else -}}
  {{- template "_internal/google_analytics_async.html" .context -}}
{{- end -}}
{{- if and (hugo.IsProduction) (.context.Site.Params.gtagId) -}}
  {{ partial "google-analytics-gtag-async.html" .context }}