Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'modules/config.go')
-rw-r--r--modules/config.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/config.go b/modules/config.go
index a50845df3..5e95f0ac1 100644
--- a/modules/config.go
+++ b/modules/config.go
@@ -301,10 +301,12 @@ func (v HugoVersion) IsValid() bool {
}
type Import struct {
- Path string // Module path
- IgnoreConfig bool // Ignore any config.toml found.
- Disable bool // Turn off this module.
- Mounts []Mount
+ Path string // Module path
+ IgnoreConfig bool // Ignore any config in config.toml (will still folow imports).
+ IgnoreImports bool // Do not follow any configured imports.
+ NoVendor bool // Never vendor this import (only allowed in main project).
+ Disable bool // Turn off this module.
+ Mounts []Mount
}
type Mount struct {