diff options
author | Bjørn Erik Pedersen <[email protected]> | 2021-07-04 16:34:53 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2021-07-04 16:34:53 +0200 |
commit | 4479f09c9cfde4e0aeb6cc72b5b0197f3eefb0d2 (patch) | |
tree | a8798c3c388b5475acf9a9b8c7de15354572df5b /docs/content/en/content-management/sections.md | |
parent | 24ce98b6d10b2088af61c15112f5c5ed915a0c35 (diff) | |
parent | 7eb0e10a80708c638554b8221a3120dc1168566c (diff) | |
download | hugo-4479f09c9cfde4e0aeb6cc72b5b0197f3eefb0d2.tar.gz hugo-4479f09c9cfde4e0aeb6cc72b5b0197f3eefb0d2.zip |
Merge commit '7eb0e10a80708c638554b8221a3120dc1168566c'
Diffstat (limited to 'docs/content/en/content-management/sections.md')
-rw-r--r-- | docs/content/en/content-management/sections.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/content/en/content-management/sections.md b/docs/content/en/content-management/sections.md index 79ae201d4..6806e342c 100644 --- a/docs/content/en/content-management/sections.md +++ b/docs/content/en/content-management/sections.md @@ -21,7 +21,9 @@ A **Section** is a collection of pages that gets defined based on the organization structure under the `content/` directory. By default, all the **first-level** directories under `content/` form their own -sections (**root sections**). +sections (**root sections**) provided they constitute [Branch Bundles][branch bundles]. +Directories which are just [Leaf Bundles][leaf bundles] do *not* form +their own sections, despite being first-level directories. If a user needs to define a section `foo` at a deeper level, they need to create a directory named `foo` with an `_index.md` file (see [Branch Bundles][branch bundles] @@ -95,4 +97,5 @@ By default, everything created within a section will use the [content `type`][co [content type]: /content-management/types/ [directory structure]: /getting-started/directory-structure/ [section templates]: /templates/section-templates/ +[leaf bundles]: /content-management/page-bundles/#leaf-bundles [branch bundles]: /content-management/page-bundles/#branch-bundles |