From d2e6fc00a88839933ca1afd5218f0e0fd4d61c49 Mon Sep 17 00:00:00 2001 From: vimux Date: Mon, 18 Jun 2018 22:06:27 +0300 Subject: [PATCH] Turn off GA on local hugo web server --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c8da31d..d1836fa 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,7 +14,7 @@ - {{ template "_internal/google_analytics_async.html" . }} + {{ if not .Site.IsServer }}{{ template "_internal/google_analytics_async.html" . }}{{ end }}