diff options
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ <!-- RSS --> <link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> + + {{ if hugo.Environment | eq "production" }} + {{ template "_internal/google_analytics_async.html" . }} + {{ end }} </head> |