Merge commit 'b6b37a1f00f808f3c0d2715f65ca2d3091f36495'

This commit is contained in:
Bjørn Erik Pedersen
2018-07-18 11:05:58 +02:00
106 changed files with 307 additions and 279 deletions

View File

@@ -10,14 +10,18 @@ menu:
docs:
parent: "functions"
keywords: [menus]
signature: ["IsMenuCurrent"]
signature: ["PAGE.IsMenuCurrent MENU MENUENTRY"]
workson: [menus]
hugoversion:
relatedfuncs: []
relatedfuncs: ["HasMenuCurrent"]
deprecated: false
draft: true
draft: false
aliases: []
needsexample: true
---
Used in [menu templates](/templates/menu-templates/).
`.IsMenuCurrent` is a method in `Page` object returning a _boolean_ value. It
returns `true` if the PAGE is the same object as the `.Page` in MENUENTRY in a
given MENU.
You can find its example use in [menu templates](/templates/menu-templates/).