mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
commands: Add "hugo config mounts" command
This prints the effective file mounts in a project. Fixes #6144
This commit is contained in:
@@ -478,8 +478,8 @@ func (c *collector) collect() {
|
||||
return
|
||||
}
|
||||
|
||||
// Append the project module at the tail.
|
||||
c.modules = append(c.modules, projectMod)
|
||||
// Add the project mod on top.
|
||||
c.modules = append(Modules{projectMod}, c.modules...)
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user