layouts/partials/footer.html
@@ -27,7 +27,7 @@ </footer> {{- partial "medium-zoom.html" .context -}} {{- partial "math.html" .context -}} {{- if (hasPrefix .context.Site.GoogleAnalytics "G-") -}} {{- if (hasPrefix .context.Site.Config.Services.GoogleAnalytics.ID "G-") -}} {{- template "_internal/google_analytics.html" .context -}} {{- end -}} {{- if and (hugo.IsProduction) (.context.Site.Params.gtagId) -}}