From b721c8c1baf62d220f9751729c3e6adf78dab56e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 30 Jul 2019 10:04:45 +0200 Subject: [PATCH] Update configuration.md --- content/en/hugo-modules/configuration.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/hugo-modules/configuration.md b/content/en/hugo-modules/configuration.md index 293aa2ca7..551f2c3a8 100644 --- a/content/en/hugo-modules/configuration.md +++ b/content/en/hugo-modules/configuration.md @@ -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]]