summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/header.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index e50da7a..2098e2c 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -31,6 +31,7 @@
{{ hugo.Generator }}
<!-- RSS -->
<link rel="alternate" type="application/atom+xml" href="{{ "index.xml" | absURL }}" title="{{ .Site.Title }}">
+ <!-- Misc -->
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}