Skip to content

Commit

Permalink
User guide config: use mounts rather than the old contentDir param
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Feb 21, 2022
1 parent 66818eb commit 37da3cf
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions userguide/config.toml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -243,3 +236,8 @@ enable = true
[taxonomies]
tag = "tags"
category = "categories"

[module]
[[module.mounts]]
source = 'content/en'
target = 'content'

0 comments on commit 37da3cf

Please sign in to comment.