Update configuration.md

This commit is contained in:
Bjørn Erik Pedersen 2019-07-30 10:04:45 +02:00 committed by GitHub
parent 78e866ad47
commit b721c8c1ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]]