hugo.GoVersion
Returns the Go version used to compile the Hugo binary.
- Syntax
- hugo.GoVersion
- Returns
- string
Usage
The hugo.GoVersion function returns the Go version used to compile the Hugo binary.
Examples
{{ hugo.GoVersion }} → go1.27.4Hugo Documentation

The hugo.GoVersion function returns the Go version used to compile the Hugo binary.
{{ hugo.GoVersion }} → go1.27.4