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

github.com/leonardofaria/bento.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/footer.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 8a25130..9d9d37d 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -71,10 +71,12 @@
{{end}}
{{ template "_internal/google_analytics.html" . }}
-{{ if and .Site.Params.fathomAnalytics .Site.Params.fathomAnalytics.siteID }}
- {{- partial "fathom" . -}}
-{{ end }}
+{{ if not .Site.IsServer }}
+ {{ if and .Site.Params.fathomAnalytics .Site.Params.fathomAnalytics.siteID }}
+ {{- partial "fathom" . -}}
+ {{ end }}
-{{ if and .Site.Params.umami }}
- {{- partial "umami" . -}}
+ {{ if and .Site.Params.umami }}
+ {{- partial "umami" . -}}
+ {{ end }}
{{ end }} \ No newline at end of file