diff options
| author | Graham Russell <graham@ham1.co.uk> | 2018-09-28 17:34:08 +0800 |
|---|---|---|
| committer | Graham Russell <graham@ham1.co.uk> | 2018-09-28 17:34:08 +0800 |
| commit | d31ad9c68fb25d920ce37f157cbb2de202d1cd82 (patch) | |
| tree | 6a25bce5e2b25a4241f25c1098bd7f23cacc96be /layouts | |
| parent | 3730b32107f2ca4d40d9002357e95bc372f64bc7 (diff) | |
Use .Hugo.Generator instead of adding meta tag manually
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/header.html | 2 |
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") }} |
