diff options
Diffstat (limited to 'docs/content/en/templates/menu-templates.md')
-rw-r--r-- | docs/content/en/templates/menu-templates.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/content/en/templates/menu-templates.md b/docs/content/en/templates/menu-templates.md index 8893d7b5a..dd7ab380f 100644 --- a/docs/content/en/templates/menu-templates.md +++ b/docs/content/en/templates/menu-templates.md @@ -76,9 +76,11 @@ To enable this menu, configure `sectionPagesMenu` in your site `config`: sectionPagesMenu = "main" ``` -The menu name can be anything, but take a note of what it is. +The menu name can be anything, but take a note of what it is. -This will create a menu with all the sections as menu items and all the sections' pages as "shadow-members". The _shadow_ implies that the pages isn't represented by a menu-item themselves, but this enables you to create a top-level menu like this: +This will create a menu with all the sections as menu items and all the sections' pages as "shadow-members". Ensure that all first level directories that you would like to show up on this menu are [Branch Bundles](https://gohugo.io/content-management/sections/). Leaf Bundles do not form sections. + +The _shadow_ implies that the pages isn't represented by a menu-item themselves, but this enables you to create a top-level menu like this: ``` <nav class="sidebar-nav"> @@ -179,4 +181,4 @@ Here's an example: {{% note %}} With Menu-level .Params they can easily exist on one menu item but not another. It's recommended to access them gracefully using the [with function](/functions/with). -{{% /note %}}
\ No newline at end of file +{{% /note %}} |