mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 20:11:37 +01:00
Use .Hugo.Generator instead of adding meta tag manually
This commit is contained in:
parent
3730b32107
commit
d31ad9c68f
@ -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") }}
|
||||
|
Loading…
Reference in New Issue
Block a user