diff options
| author | nanxiaobei <nanxiaobei@gmail.com> | 2019-06-11 03:29:55 +0800 |
|---|---|---|
| committer | nanxiaobei <nanxiaobei@gmail.com> | 2019-06-11 03:29:55 +0800 |
| commit | f91e48e02656405fb9359f887dc9158f1cce27a1 (patch) | |
| tree | 678c934b7594b1aec95d36bf93a8451a85cf9513 /layouts/partials/header.html | |
| parent | e0be4092bd817330c3fa4f1fe7d68fb9c972fb67 (diff) | |
Refine head
Diffstat (limited to 'layouts/partials/header.html')
| -rw-r--r-- | layouts/partials/header.html | 1 |
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 }} |
