Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorspf13 <steve.francia@gmail.com>2014-05-30 01:40:11 +0400
committerspf13 <steve.francia@gmail.com>2014-05-30 02:45:21 +0400
commit012823a32a925a26a127e65341dfeef5a9b32690 (patch)
tree1b5d47252f0423c201ad6503aa572bb002e4278d /docs
parentb9bba2b977256642d00938e317cc2b743c418e6e (diff)
Update menu documentation to be accurate
Diffstat (limited to 'docs')
-rw-r--r--docs/content/extras/menus.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/content/extras/menus.md b/docs/content/extras/menus.md
index 070729c00..d557451d4 100644
--- a/docs/content/extras/menus.md
+++ b/docs/content/extras/menus.md
@@ -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