mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Update menu documentation to be accurate
This commit is contained in:
parent
b9bba2b977
commit
012823a32a
1 changed files with 5 additions and 3 deletions
|
@ -37,12 +37,14 @@ A menu entry has the following properties:
|
|||
* **Parent** string
|
||||
* **Children** Menu
|
||||
|
||||
And the following functions:
|
||||
|
||||
* **HasChildren** bool
|
||||
|
||||
Additionally there are some relevant functions available on the page:
|
||||
|
||||
* **HasChildren** bool
|
||||
* **IsMenuCurrent** (menu string, menuEntry *MenuEntry ) bool
|
||||
* **HasMenuCurrent** (menu string, menuEntry *MenuEntry) bool
|
||||
* **IsMenuCurrent** (menu string, menuEntry *MenuEntry ) bool
|
||||
* **HasMenuCurrent** (menu string, menuEntry *MenuEntry) bool
|
||||
|
||||
|
||||
## Adding content to menus
|
||||
|
|
Loading…
Reference in a new issue