diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b517fd1..b160657 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -29,5 +29,7 @@ {{ with .OutputFormats.Get "RSS" }} {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end }} - {{ template "_internal/google_analytics.html" . }} + {{- if not .Site.IsServer -}} + {{ template "_internal/google_analytics.html" . }} + {{- end -}} </head> |