From 914352f71c089fa2caa039864434a92bb88d7572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Fri, 12 May 2023 14:24:21 +0100 Subject: [PATCH] updated nested menus docs --- exampleSite/config/_default/menus.en.toml | 2 -- exampleSite/content/docs/getting-started/index.md | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/exampleSite/config/_default/menus.en.toml b/exampleSite/config/_default/menus.en.toml index c8df8eb0..2fe1b1a5 100644 --- a/exampleSite/config/_default/menus.en.toml +++ b/exampleSite/config/_default/menus.en.toml @@ -19,8 +19,6 @@ # name = "Examples" # weight = 20 - - [[main]] name = "Samples" pageRef = "samples" diff --git a/exampleSite/content/docs/getting-started/index.md b/exampleSite/content/docs/getting-started/index.md index c7835c98..9c6abf68 100644 --- a/exampleSite/content/docs/getting-started/index.md +++ b/exampleSite/content/docs/getting-started/index.md @@ -197,7 +197,7 @@ Both menus are completely optional and can be commented out if not required. Use ### Nested menus -The theme also supports nested menus. In order to use them you just need to define a parent entry in `menu.toml` and its sub-menus using the `parent` parameter to reference the parent. All properties can be used for sub-menus. Note that `pageRef` and `url` will be ignored for the parent entry. Nested menus is only available in the main menu not for the footer. +The theme also supports nested menus. In order to use them you just need to define a parent entry in `menu.toml` and its sub-menus using the `parent` parameter to reference the parent. All properties can be used for sub-menus. `pageRef` and `url` can also be used in the parent entry. Nested menus are only available in the main menu not for the footer. ```toml # config/_default/menus.toml