]> git.maquefel.me Git - brevno-suite/hugo/commit
common: Add hugo.GoVersion
authorKhayyam Saleem <hello@khayyam.me>
Mon, 30 May 2022 13:12:41 +0000 (09:12 -0400)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 14 Jun 2022 07:48:45 +0000 (09:48 +0200)
commit09ac73338198ceb143c1e5edc5859ab735cd80bb
treef099b8fa2f555362fa2e5450a2f5fc51da397504
parent66da1b7b2f8a8bd26ed4a50a54f64489f116f484
common: Add hugo.GoVersion

Closes #9849. This enables `hugo.GoVersion` in templates to access the
version of Go that the Hugo binary was built with.
common/hugo/hugo.go
common/hugo/hugo_test.go
docs/content/en/functions/hugo.md