summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanxiaobei <nanxiaobei@gmail.com>2019-06-11 03:29:55 +0800
committernanxiaobei <nanxiaobei@gmail.com>2019-06-11 03:29:55 +0800
commitf91e48e02656405fb9359f887dc9158f1cce27a1 (patch)
tree678c934b7594b1aec95d36bf93a8451a85cf9513
parente0be4092bd817330c3fa4f1fe7d68fb9c972fb67 (diff)
Refine head
-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 }}