diff options
Diffstat (limited to 'content/en/methods/page/HasMenuCurrent.md')
-rw-r--r-- | content/en/methods/page/HasMenuCurrent.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/en/methods/page/HasMenuCurrent.md b/content/en/methods/page/HasMenuCurrent.md index 68b645905..a092f22c0 100644 --- a/content/en/methods/page/HasMenuCurrent.md +++ b/content/en/methods/page/HasMenuCurrent.md @@ -1,6 +1,6 @@ --- title: HasMenuCurrent -description: Reports whether the given page object matches the page object associated with one of the child menu entries under the given menu entry in the given menu. +description: Reports whether the given Page object matches the Page object associated with one of the child menu entries under the given menu entry in the given menu. categories: [] keywords: [] action: @@ -11,7 +11,7 @@ action: aliases: [/functions/hasmenucurrent] --- -If the page object associated with the menu entry is a section, this method also returns `true` for any descendant of that section. +If the `Page` object associated with the menu entry is a section, this method also returns `true` for any descendant of that section. ```go-html-template {{ $currentPage := . }} @@ -28,4 +28,4 @@ If the page object associated with the menu entry is a section, this method also See [menu templates] for a complete example. -[menu templates]: /templates/menu-templates/#example +[menu templates]: /templates/menu/#example |