aboutsummaryrefslogtreecommitdiffhomepage
path: root/layouts/shortcodes/gomodules-info.html
blob: b56758ac38454e47007b088ba01f3c2a0e7f1847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ $text := `
Most of the commands for **Hugo Modules** require a newer version 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.12 in your Environment settings.

For more information about Go Modules, see:

* https://github.com/golang/go/wiki/Modules
* https://blog.golang.org/using-go-modules
` }}

<aside class="admonition note">
	<div class="note-icon">
		{{partial "svg/exclamation.svg" (dict "size" "20px" ) }}
	</div>
	<div class="admonition-content">
        {{- $text | markdownify -}}
    </div>
</aside>