| layouts/partials/footer.html | ●●●●● patch | view | raw | blame | history |
layouts/partials/footer.html
@@ -35,9 +35,11 @@ {{- 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 }}