diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/collect.go | 2 | ||||
-rw-r--r-- | modules/config.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/collect.go b/modules/collect.go index f57b4d04b..9f3eb99f1 100644 --- a/modules/collect.go +++ b/modules/collect.go @@ -284,7 +284,7 @@ func (c *collector) addAndRecurse(owner *moduleAdapter, disabled bool) error { } for _, moduleImport := range moduleConfig.Imports { - disabled := disabled || moduleImport.Disabled + disabled := disabled || moduleImport.Disable if !c.isSeen(moduleImport.Path) { tc, err := c.add(owner, moduleImport, disabled) diff --git a/modules/config.go b/modules/config.go index b084863d4..818241c94 100644 --- a/modules/config.go +++ b/modules/config.go @@ -301,7 +301,7 @@ func (v HugoVersion) IsValid() bool { type Import struct { Path string // Module path IgnoreConfig bool // Ignore any config.toml found. - Disabled bool // Turn off this module. + Disable bool // Turn off this module. Mounts []Mount } |