From 5e140c4d9898412e60ea7167df425ac12f797bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= Date: Sun, 5 May 2019 17:58:43 +0200 Subject: Add option to use Google Analytics (#14) --- layouts/partials/head.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6e0dd5e..aed1b99 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -33,4 +33,8 @@ + + {{ if hugo.Environment | eq "production" }} + {{ template "_internal/google_analytics_async.html" . }} + {{ end }} -- cgit v1.2.3