summaryrefslogtreecommitdiffstats
path: root/docs/content/en/methods/page/HasMenuCurrent.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/methods/page/HasMenuCurrent.md')
-rw-r--r--docs/content/en/methods/page/HasMenuCurrent.md14
1 files changed, 6 insertions, 8 deletions
diff --git a/docs/content/en/methods/page/HasMenuCurrent.md b/docs/content/en/methods/page/HasMenuCurrent.md
index 24ce462c9..207882167 100644
--- a/docs/content/en/methods/page/HasMenuCurrent.md
+++ b/docs/content/en/methods/page/HasMenuCurrent.md
@@ -3,11 +3,10 @@ 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.
categories: []
keywords: []
-action:
- related:
- - methods/page/IsMenuCurrent
- returnType: bool
- signatures: [PAGE.HasMenuCurrent MENU MENUENTRY]
+params:
+ functions_and_methods:
+ returnType: bool
+ signatures: [PAGE.HasMenuCurrent MENU MENUENTRY]
aliases: [/functions/hasmenucurrent]
---
@@ -28,8 +27,7 @@ If the `Page` object associated with the menu entry is a section, this method al
See [menu templates] for a complete example.
-{{% note %}}
-When using this method you must either define the menu entry in front matter, or specify a `pageRef` property when defining the menu entry in your site configuration.
-{{% /note %}}
+> [!note]
+> When using this method you must either define the menu entry in front matter, or specify a `pageRef` property when defining the menu entry in your site configuration.
[menu templates]: /templates/menu/#example