summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 4fada03..af088c4 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -5,6 +5,8 @@
{{ block "main" . -}}{{- end }}
</main>
- {{ template "_internal/google_analytics_async.html" . }}
+ {{ if not .Site.IsServer }}
+ {{ template "_internal/google_analytics_async.html" . }}
+ {{ end }}
</body>
</html>