mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 22:17:28 +00:00
Update menu documentation to be accurate
This commit is contained in:
1 parent
b9bba2b977
commit
012823a32a
1 file changed
+5
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user