updated nested menus docs

This commit is contained in:
Nuno Coração 2023-05-12 14:24:21 +01:00
parent 8ca246ce31
commit 914352f71c
2 changed files with 1 additions and 3 deletions

View file

@ -19,8 +19,6 @@
# name = "Examples"
# weight = 20
[[main]]
name = "Samples"
pageRef = "samples"

View file

@ -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