summaryrefslogtreecommitdiffstats
path: root/docs/layouts/shortcodes/gomodules-info.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/layouts/shortcodes/gomodules-info.html')
-rw-r--r--docs/layouts/shortcodes/gomodules-info.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/layouts/shortcodes/gomodules-info.html b/docs/layouts/shortcodes/gomodules-info.html
new file mode 100644
index 000000000..62c3c6cf3
--- /dev/null
+++ b/docs/layouts/shortcodes/gomodules-info.html
@@ -0,0 +1,18 @@
+
+{{ $text := `
+Most of the commands for **Hugo Modules** requires 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).
+
+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>