diff --git a/layouts/partials/head.html b/layouts/partials/head.html index bcecba7..b160657 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -29,6 +29,7 @@ {{ with .OutputFormats.Get "RSS" }} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end }} - {{ template "_internal/google_analytics.html" . }} - - \ No newline at end of file + {{- if not .Site.IsServer -}} + {{ template "_internal/google_analytics.html" . }} + {{- end -}} +