mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-16 22:14:38 +00:00
Update configuration.md
This commit is contained in:
1 parent
78e866ad47
commit
b721c8c1ba
1 file changed
+6
@@ -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]]
|
||||
|
||||
Reference in new issue
Block a user