mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -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,10 +37,12 @@ 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue