aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/methods/menu
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/methods/menu')
-rw-r--r--docs/content/en/methods/menu/ByName.md6
-rw-r--r--docs/content/en/methods/menu/ByWeight.md6
-rw-r--r--docs/content/en/methods/menu/Limit.md6
-rw-r--r--docs/content/en/methods/menu/Reverse.md6
4 files changed, 12 insertions, 12 deletions
diff --git a/docs/content/en/methods/menu/ByName.md b/docs/content/en/methods/menu/ByName.md
index 3f1c52b2e..04f25c22d 100644
--- a/docs/content/en/methods/menu/ByName.md
+++ b/docs/content/en/methods/menu/ByName.md
@@ -14,17 +14,17 @@ The `Sort` method returns the given menu with its entries sorted by `name`.
Consider this menu definition:
{{< code-toggle file=hugo >}}
-[[menu.main]]
+[[menus.main]]
name = 'Services'
pageRef = '/services'
weight = 10
-[[menu.main]]
+[[menus.main]]
name = 'About'
pageRef = '/about'
weight = 20
-[[menu.main]]
+[[menus.main]]
name = 'Contact'
pageRef = '/contact'
weight = 30
diff --git a/docs/content/en/methods/menu/ByWeight.md b/docs/content/en/methods/menu/ByWeight.md
index c915914db..d5cb0444b 100644
--- a/docs/content/en/methods/menu/ByWeight.md
+++ b/docs/content/en/methods/menu/ByWeight.md
@@ -16,19 +16,19 @@ The `ByWeight` method returns the given menu with its entries sorted by [`weight
Consider this menu definition:
{{< code-toggle file=hugo >}}
-[[menu.main]]
+[[menus.main]]
identifier = 'about'
name = 'About'
pageRef = '/about'
weight = 20
-[[menu.main]]
+[[menus.main]]
identifier = 'services'
name = 'Services'
pageRef = '/services'
weight = 10
-[[menu.main]]
+[[menus.main]]
identifier = 'contact'
name = 'Contact'
pageRef = '/contact'
diff --git a/docs/content/en/methods/menu/Limit.md b/docs/content/en/methods/menu/Limit.md
index 12263e811..23a523dbd 100644
--- a/docs/content/en/methods/menu/Limit.md
+++ b/docs/content/en/methods/menu/Limit.md
@@ -14,17 +14,17 @@ The `Limit` method returns the given menu, limited to the first N entries.
Consider this menu definition:
{{< code-toggle file=hugo >}}
-[[menu.main]]
+[[menus.main]]
name = 'Services'
pageRef = '/services'
weight = 10
-[[menu.main]]
+[[menus.main]]
name = 'About'
pageRef = '/about'
weight = 20
-[[menu.main]]
+[[menus.main]]
name = 'Contact'
pageRef = '/contact'
weight = 30
diff --git a/docs/content/en/methods/menu/Reverse.md b/docs/content/en/methods/menu/Reverse.md
index 989132d60..a3fe09dce 100644
--- a/docs/content/en/methods/menu/Reverse.md
+++ b/docs/content/en/methods/menu/Reverse.md
@@ -14,17 +14,17 @@ The `Reverse` method returns the given menu, reversing the sort order of its ent
Consider this menu definition:
{{< code-toggle file=hugo >}}
-[[menu.main]]
+[[menus.main]]
name = 'Services'
pageRef = '/services'
weight = 10
-[[menu.main]]
+[[menus.main]]
name = 'About'
pageRef = '/about'
weight = 20
-[[menu.main]]
+[[menus.main]]
name = 'Contact'
pageRef = '/contact'
weight = 30