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

JackywithaWhiteDog
10.07.2021 9c59364e45baa0a744e411139d008998da95225e
fix: if condition with gtagId (#230)

Closes #228
1 files modified
2 ■■■ changed files
layouts/partials/footer.html 2 ●●● patch | view | raw | blame | history
layouts/partials/footer.html
@@ -34,7 +34,7 @@
{{- partial "medium-zoom.html" .context -}}
{{- partial "math.html" .context -}}
{{- template "_internal/google_analytics_async.html" .context -}}
{{- if and (hugo.IsProduction) (.Site.Params.gtagId) -}}
{{- if and (hugo.IsProduction) (.context.Site.Params.gtagId) -}}
  {{ partial "google-analytics-gtag-async.html" .context }}