diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4fada03a8..af088c4d1 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,6 +5,8 @@ {{ block "main" . -}}{{- end }} - {{ template "_internal/google_analytics_async.html" . }} + {{ if not .Site.IsServer }} + {{ template "_internal/google_analytics_async.html" . }} + {{ end }}