mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 04:04:57 -04:00
Update configuration.md
This commit is contained in:
parent
78e866ad47
commit
b721c8c1ba
@ -90,6 +90,12 @@ disable
|
||||
|
||||
## Module Config: mounts
|
||||
|
||||
{{% note %}}
|
||||
When the `mounts` config was introduced in Hugo 0.56.0, we were careful to preserve the existing `staticDir` and similar configuration to make sure all existing sites just continued to work.
|
||||
|
||||
But you should not have both. So you if you add a `mounts` section you should make it complete and remove the old `staticDir` etc. settings.
|
||||
{{% /note %}}
|
||||
|
||||
{{< code-toggle file="config">}}
|
||||
[module]
|
||||
[[module.mounts]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user