☰
Debian Codegraph
@
0.167.0-2
0.166.0-2
0.166.0-1
0.165.0-3
0.165.0-2
0.162.1-1
/
/
docs
/
layouts
/
_shortcodes
/
current-go-version.html
☽
☼
docs/layouts/_shortcodes/current-go-version.html
code
plain
raw
Apache-2.0
2013–2016 Steve Francia <
[email protected]
>; 2014–2025 Bjørn Erik Pedersen <
[email protected]
>; 2015–2025 The Hugo Authors
debian/copyright
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` -}}