Remove superfluous shortcode param

This commit is contained in:
Joe Mooring authored and Joe Mooring committed 2023-11-07 14:06:01 -08:00
1 parent 2a0544757c
commit 45ec53fe00
27 files changed
+49 -49

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ Use the `Children` method when rendering a nested menu.
With this site configuration:
{{< code-toggle file=hugo copy=false >}}
{{< code-toggle file=hugo >}}
[[menu.main]]
name = 'Products'
pageRef = '/product'
+1 -1
View File
@@ -14,7 +14,7 @@ Use the `HasChildren` method when rendering a nested menu.
With this site configuration:
{{< code-toggle file=hugo copy=false >}}
{{< code-toggle file=hugo >}}
[[menu.main]]
name = 'Products'
pageRef = '/product'
+1 -1
View File
@@ -13,7 +13,7 @@ The `Identifier` method returns the `identifier` property of the menu entry. If
[automatically]: /content-management/menus/#define-automatically
{{< code-toggle file=hugo copy=false >}}
{{< code-toggle file=hugo >}}
[[menu.main]]
identifier = 'about'
name = 'About'
+1 -1
View File
@@ -11,7 +11,7 @@ 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 copy=false >}}
{{< code-toggle file=hugo >}}
[[menu.main]]
identifier = 'about'
name = 'About'
+1 -1
View File
@@ -13,7 +13,7 @@ Regardless of how you [define menu entries], an entry associated with a page has
In this menu definition, the first two entries are associated with a page, the last entry is not:
{{< code-toggle file=hugo copy=false >}}
{{< code-toggle file=hugo >}}
[[menu.main]]
pageRef = '/about'
weight = 10
+1 -1
View File
@@ -11,7 +11,7 @@ action:
When you define menu entries [in site configuration] or [in front matter], you can include a `params` key to attach additional information to the entry. For example:
{{< code-toggle file=hugo copy=false >}}
{{< code-toggle file=hugo >}}
[[menu.main]]
name = 'About'
pageRef = '/about'
+1 -1
View File
@@ -11,7 +11,7 @@ action:
With this menu definition:
{{< code-toggle file=hugo copy=false >}}
{{< code-toggle file=hugo >}}
[menu]
[[menu.main]]
name = 'Products'
@@ -4,7 +4,7 @@
In this site configuration we enable rendering of [emoji shortcodes], and add emoji shortcodes before (pre) and after (post) each menu entry:
{{< code-toggle file=hugo copy=false >}}
{{< code-toggle file=hugo >}}
enableEmoji = true
[[menu.main]]