mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-25 23:19:28 -05:00
Merge pull request #27 from philip-khor/patch-1
Use global hugo function
This commit is contained in:
commit
f25656ea2d
@ -28,7 +28,7 @@
|
|||||||
<link rel="apple-touch-icon" href="{{.Site.BaseURL}}img/apple-touch-icon.png">
|
<link rel="apple-touch-icon" href="{{.Site.BaseURL}}img/apple-touch-icon.png">
|
||||||
<link rel="icon" href="{{.Site.BaseURL}}img/favicon.ico">
|
<link rel="icon" href="{{.Site.BaseURL}}img/favicon.ico">
|
||||||
<!-- Generator -->
|
<!-- Generator -->
|
||||||
{{ .Hugo.Generator }}
|
{{ hugo.Generator }}
|
||||||
<!-- RSS -->
|
<!-- RSS -->
|
||||||
<link rel="alternate" type="application/atom+xml" href="{{.Site.BaseURL}}index.xml" title="{{ .Site.Title }}">
|
<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") }}
|
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
|
||||||
|
Loading…
Reference in New Issue
Block a user