From 37da3cf9a4f20ac7b907930209a1ce0879579e13 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 18 Feb 2022 11:58:27 -0500 Subject: [PATCH] User guide config: use mounts rather than the old contentDir param --- userguide/config.toml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/userguide/config.toml b/userguide/config.toml index 56ffffc4d9..79d94f53bb 100644 --- a/userguide/config.toml +++ b/userguide/config.toml @@ -1,13 +1,6 @@ baseURL = "/" title = "Docsy Example" -# Language settings -contentDir = "content/en" -defaultContentLanguage = "en" -defaultContentLanguageInSubdir = false -# Useful when translating. -enableMissingTranslationPlaceholders = true - enableRobotsTXT = true # Hugo allows theme composition (and inheritance). The precedence is from left to right. @@ -243,3 +236,8 @@ enable = true [taxonomies] tag = "tags" category = "categories" + +[module] +[[module.mounts]] + source = 'content/en' + target = 'content'