mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-12 20:13:59 +02:00
@@ -171,6 +171,9 @@ func ApplyProjectConfigDefaults(cfg config.Provider, mod Module) error {
|
||||
mounts = append(mounts, Mount{Source: dirKey.component, Target: dirKey.component})
|
||||
}
|
||||
|
||||
// Prepend the mounts from configuration.
|
||||
mounts = append(moda.mounts, mounts...)
|
||||
|
||||
// Remove duplicates
|
||||
seen := make(map[string]bool)
|
||||
tmp := mounts[:0]
|
||||
|
Reference in New Issue
Block a user