Add hugo.IsProduction function
authorJoshua Wong <joshwonghc@gmail.com>
Tue, 25 Feb 2020 16:58:07 +0000 (00:58 +0800)
committerGitHub <noreply@github.com>
Tue, 25 Feb 2020 16:58:07 +0000 (17:58 +0100)
commit1352bc880df4cd25eff65843973fcc0dd21b6304
tree691d52ed2bd5971be3190a8f282e84c05a974917
parentd184e5059c72c15df055192b01da0fd8c5b0fc5c
Add hugo.IsProduction function

Fixes #6873
common/hugo/hugo.go
common/hugo/hugo_test.go
docs/content/en/functions/hugo.md