"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/content/en/functions/hasmenucurrent.md" between
hugo-0.85.0.tar.gz and hugo-0.86.0.tar.gz

About: Hugo is a static site generator that takes a source directory of Markdown files and templates and uses these as input to create a complete website (written in Go).

hasmenucurrent.md  (hugo-0.85.0):hasmenucurrent.md  (hugo-0.86.0)
skipping to change at line 27 skipping to change at line 27
deprecated: false deprecated: false
toc: false toc: false
draft: false draft: false
aliases: [] aliases: []
--- ---
`.HasMenuCurrent` is a method in `Page` object returning a _boolean_ value. It `.HasMenuCurrent` is a method in `Page` object returning a _boolean_ value. It
returns `true` if the PAGE is the same object as the `.Page` in one of the returns `true` if the PAGE is the same object as the `.Page` in one of the
**children menu entries** under MENUENTRY in a given MENU. **children menu entries** under MENUENTRY in a given MENU.
{{< new-in "0.86.0" >}} If MENUENTRY's `.Page` is a [section](/content-managemen
t/sections/) then, from Hugo `0.86.0`, this method also returns true for any des
cendant of that section..
You can find its example use in [menu templates](/templates/menu-templates/). You can find its example use in [menu templates](/templates/menu-templates/).
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)