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.3Last updated:
November 8, 2026
:
content: Apply style guide to hugo functions (ed4f37ecc)
Improve this page