mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
updated nested menus docs
This commit is contained in:
@@ -19,8 +19,6 @@
|
|||||||
# name = "Examples"
|
# name = "Examples"
|
||||||
# weight = 20
|
# weight = 20
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
name = "Samples"
|
name = "Samples"
|
||||||
pageRef = "samples"
|
pageRef = "samples"
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ Both menus are completely optional and can be commented out if not required. Use
|
|||||||
|
|
||||||
### Nested menus
|
### 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
|
```toml
|
||||||
# config/_default/menus.toml
|
# config/_default/menus.toml
|
||||||
|
|||||||
Reference in New Issue
Block a user