Merge pull request #13 from ham1/use_hugo_generator

Use .Hugo.Generator instead of adding meta tag manually
This commit is contained in:
南小北 2018-09-28 17:35:16 +08:00 committed by GitHub
commit 6c9652a4d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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") }}