Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lxndrblz/anatole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlxndrblz <lxndrblz@users.noreply.github.com>2022-03-31 21:43:40 +0300
committerGitHub Actions <actions@github.com>2022-03-31 21:43:40 +0300
commit6c5ea1206101728201ff083b8ed3fb271e4c1225 (patch)
treef5c7263af2c3e8a5275997a25c2d468499e95bfc /layouts
parent370ac4939b537352aaa83db9049c38f64631a16a (diff)
style: prettier format all files
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index b231dc1..0ef2567 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -34,8 +34,10 @@
{{- 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 }}