Debian Codegraph @

docs/layouts/_shortcodes/current-go-version.html

raw
1 {{/*
2 Prints the first patch release of the Go minor version used to compile the Hugo
3 executable that built this site (e.g., 1.26.3 → 1.26.0).
4 */}}
5 {{- hugo.GoVersion | strings.ReplaceRE `go(\d+\.\d+)\..*` `$1.0` -}}