Merge pull request #27 from philip-khor/patch-1

Use global hugo function
This commit is contained in:
南小北 2019-05-08 02:58:53 +08:00 committed by GitHub
commit f25656ea2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@
<link rel="apple-touch-icon" href="{{.Site.BaseURL}}img/apple-touch-icon.png">
<link rel="icon" href="{{.Site.BaseURL}}img/favicon.ico">
<!-- Generator -->
{{ .Hugo.Generator }}
{{ 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") }}