docs: Add Hugo Modules docs

This commit is contained in:
Bjørn Erik Pedersen
2019-07-24 19:44:57 +02:00
parent e5f2299741
commit 77bf2991b1
12 changed files with 314 additions and 529 deletions

View File

@@ -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>

View File

@@ -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).