summaryrefslogtreecommitdiffstats
path: root/docs/content/en/methods/page/IsMenuCurrent.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/methods/page/IsMenuCurrent.md')
-rw-r--r--docs/content/en/methods/page/IsMenuCurrent.md14
1 files changed, 6 insertions, 8 deletions
diff --git a/docs/content/en/methods/page/IsMenuCurrent.md b/docs/content/en/methods/page/IsMenuCurrent.md
index a16be51ee..9bbacd018 100644
--- a/docs/content/en/methods/page/IsMenuCurrent.md
+++ b/docs/content/en/methods/page/IsMenuCurrent.md
@@ -3,11 +3,10 @@ title: IsMenuCurrent
description: Reports whether the given Page object matches the Page object associated with the given menu entry in the given menu.
categories: []
keywords: []
-action:
- related:
- - methods/page/HasMenuCurrent
- returnType: bool
- signatures: [PAGE.IsMenuCurrent MENU MENUENTRY]
+params:
+ functions_and_methods:
+ returnType: bool
+ signatures: [PAGE.IsMenuCurrent MENU MENUENTRY]
aliases: [/functions/ismenucurrent]
---
@@ -26,8 +25,7 @@ aliases: [/functions/ismenucurrent]
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