mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-24 21:56:05 +02:00
modules: Rename disabled => disable in config
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user