summaryrefslogtreecommitdiff
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
authorGraham Russell <graham@ham1.co.uk>2018-09-28 17:34:08 +0800
committerGraham Russell <graham@ham1.co.uk>2018-09-28 17:34:08 +0800
commitd31ad9c68fb25d920ce37f157cbb2de202d1cd82 (patch)
tree6a25bce5e2b25a4241f25c1098bd7f23cacc96be /layouts/partials/header.html
parent3730b32107f2ca4d40d9002357e95bc372f64bc7 (diff)
Use .Hugo.Generator instead of adding meta tag manually
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 1ab95d8..40a39b7 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -30,7 +30,7 @@
<link rel="apple-touch-icon" href="{{.Site.BaseURL}}img/apple-touch-icon.png">
<link rel="icon" href="{{.Site.BaseURL}}img/favicon.ico">
<!-- Generator -->
- <meta name="generator" content="Hugo {{ .Hugo.Version }}">
+ {{ .Hugo.Generator }}
<!-- RSS -->
<link rel="alternate" type="application/atom+xml" href="{{.Site.BaseURL}}index.xml" title="{{ .Site.Title }}">
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}