mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
Add explicit contentDir to module-config-mounts (#1658)
Context: https://discourse.gohugo.io/t/content-mount-problem-for-single-language-multilingual-site/37215
This commit is contained in:
1 parent
798ac8f68b
commit
3568ddc039
1 file changed
+1
-1
@@ -113,7 +113,7 @@ noVendor
|
|||||||
## Module Config: mounts
|
## Module Config: mounts
|
||||||
|
|
||||||
{{% note %}}
|
{{% 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: if you add a `mounts` section you should remove the old `staticDir` etc. settings.
|
When the `mounts` config was introduced in Hugo 0.56.0, we were careful to preserve the existing `contentDir`, `staticDir`, and similar configuration to make sure all existing sites just continued to work. But you should not have both: if you add a `mounts` section you should remove the old `contentDir`, `staticDir`, etc. settings.
|
||||||
{{% /note %}}
|
{{% /note %}}
|
||||||
|
|
||||||
{{% warning %}}
|
{{% warning %}}
|
||||||
|
|||||||
Reference in new issue
Block a user