diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-07-24 19:44:57 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-07-25 13:21:30 +0200 |
commit | 77bf2991b1690bcde8c6570cd4c12f2041d93096 (patch) | |
tree | 2d46c4f845892e6d4e6c8c3ac6d9786094842da5 /docs/layouts | |
parent | e5f229974166402f51e4ee0695ffb4d1e09fa174 (diff) |
docs: Add Hugo Modules docs
Diffstat (limited to 'docs/layouts')
-rw-r--r-- | docs/layouts/shortcodes/gomodules-info.html | 18 | ||||
-rw-r--r-- | docs/layouts/shortcodes/module-mounts-note.html | 1 |
2 files changed, 19 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> diff --git a/docs/layouts/shortcodes/module-mounts-note.html b/docs/layouts/shortcodes/module-mounts-note.html new file mode 100644 index 000000000..654aafef4 --- /dev/null +++ b/docs/layouts/shortcodes/module-mounts-note.html @@ -0,0 +1 @@ +Also see [Module Mounts Config](/hugo-modules/configuration/#module-config-mounts) for an alternative way to configure this directory (from Hugo 0.56).
\ No newline at end of file |