target
path where it is mountedstatic
, content
, layouts
, data
, assets
, i18n
, and archetypes
.path
. By default all modules are assumed to be themes.source
and target
locationshugo serve
automatically fetches the modules if neededhugo mod vendor
shows the mounted modules in a directory called _vendor
inside your project root instead of loading them in cacheDir
1hugo mod init github.com/aamnah/aamnah.com
2
3# this will create a file called: go.mod
1hugo mod vendor
archetypes
for creating new content based on templates. For example: archetypes for creating blog posts with pre-filled front matter