Use canonical key when documenting menu configs

This commit is contained in:
Joe Mooring authored and Joe Mooring committed 2023-12-12 08:53:32 -08:00
1 parent 7d5a13d8db
commit 1f2e7b9b2c
17 files changed
+74 -68

No files matched your search

+2 -2
View File
@@ -12,13 +12,13 @@ action:
In this menu definition, the second entry does not contain an `identifier`, so the `Identifier` method returns its `name` property instead:
{{< code-toggle file=hugo >}}
[[menu.main]]
[[menus.main]]
identifier = 'about'
name = 'About'
pageRef = '/about'
weight = 10
[[menu.main]]
[[menus.main]]
name = 'Contact'
pageRef = '/contact'
weight = 20