mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
19 lines
695 B
HTML
19 lines
695 B
HTML
{{- $text := `
|
|
Most of the commands for **Hugo Modules** require a newer version (>= 1.18) of Go installed (see https://golang.org/dl/) and the relevant VCS client (e.g. Git, see https://git-scm.com/downloads/ ).
|
|
If you have an "older" site running on Netlify, you may have to set GO_VERSION to 1.19 or newer in your Environment settings.
|
|
|
|
For more information about Go Modules, see:
|
|
|
|
- https://go.dev/wiki/Modules
|
|
- https://blog.golang.org/using-go-modules
|
|
`
|
|
}}
|
|
{{- $text = $text | strings.TrimSpace | .Page.RenderString (dict "display" "block") }}
|
|
{{- partial "layouts/blocks/alert.html" (dict
|
|
"color" "orange"
|
|
"icon" "exclamation"
|
|
"text" $text
|
|
"title" "Go Modules"
|
|
)
|
|
}}
|