diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b517fd1..66029c0 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -29,5 +29,8 @@ {{ with .OutputFormats.Get "RSS" }} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end }} - {{ template "_internal/google_analytics.html" . }} + + {{- if not .Site.IsServer -}} + {{ template "_internal/google_analytics.html" . }} + {{- end -}}