diff --git a/content/en/getting-started/configuration.md b/content/en/getting-started/configuration.md index 78cc6b52d..b88fde725 100644 --- a/content/en/getting-started/configuration.md +++ b/content/en/getting-started/configuration.md @@ -49,7 +49,7 @@ In addition to using a single site configuration file, one can use the `configDi foo = "bar" {{< /code-toggle >}} -{{< code-toggle file="params" copy=false >}} +{{< code-toggle file="params" >}} foo = "bar" {{< /code-toggle >}} @@ -78,7 +78,7 @@ Let's take an example to understand this better. Let's say you are using Google [Google tag ID]: https://support.google.com/tagmanager/answer/12326985?hl=en -{{< code-toggle file=hugo copy=false >}} +{{< code-toggle file=hugo >}} [services.googleAnalytics] ID = 'G-XXXXXXXXX' {{< /code-toggle >}} @@ -103,7 +103,7 @@ To satisfy these requirements, configure your site as follows: Include this section only: - {{< code-toggle file=hugo copy=false >}} + {{< code-toggle file=hugo >}} [services.googleAnalytics] ID = 'G-PPPPPPPPP' {{< /code-toggle >}} @@ -116,7 +116,7 @@ To satisfy these requirements, configure your site as follows: Include this section only: - {{< code-toggle file=hugo copy=false >}} + {{< code-toggle file=hugo >}} [services.googleAnalytics] ID = 'G-SSSSSSSSS' {{< /code-toggle >}} diff --git a/content/en/methods/menu-entry/Children.md b/content/en/methods/menu-entry/Children.md index 755c90728..af2af6dce 100644 --- a/content/en/methods/menu-entry/Children.md +++ b/content/en/methods/menu-entry/Children.md @@ -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' diff --git a/content/en/methods/menu-entry/HasChildren.md b/content/en/methods/menu-entry/HasChildren.md index 0c4d71b86..d906987e8 100644 --- a/content/en/methods/menu-entry/HasChildren.md +++ b/content/en/methods/menu-entry/HasChildren.md @@ -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' diff --git a/content/en/methods/menu-entry/Identifier.md b/content/en/methods/menu-entry/Identifier.md index c8c48ba23..a4d7e129e 100644 --- a/content/en/methods/menu-entry/Identifier.md +++ b/content/en/methods/menu-entry/Identifier.md @@ -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' diff --git a/content/en/methods/menu-entry/KeyName.md b/content/en/methods/menu-entry/KeyName.md index a0269a252..8031441b9 100644 --- a/content/en/methods/menu-entry/KeyName.md +++ b/content/en/methods/menu-entry/KeyName.md @@ -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' diff --git a/content/en/methods/menu-entry/Page.md b/content/en/methods/menu-entry/Page.md index da559ace8..9b23f7b73 100644 --- a/content/en/methods/menu-entry/Page.md +++ b/content/en/methods/menu-entry/Page.md @@ -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 diff --git a/content/en/methods/menu-entry/Params.md b/content/en/methods/menu-entry/Params.md index 2e23c4a7a..1486c12cb 100644 --- a/content/en/methods/menu-entry/Params.md +++ b/content/en/methods/menu-entry/Params.md @@ -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' diff --git a/content/en/methods/menu-entry/Parent.md b/content/en/methods/menu-entry/Parent.md index c3644fac0..897712831 100644 --- a/content/en/methods/menu-entry/Parent.md +++ b/content/en/methods/menu-entry/Parent.md @@ -11,7 +11,7 @@ action: With this menu definition: -{{< code-toggle file=hugo copy=false >}} +{{< code-toggle file=hugo >}} [menu] [[menu.main]] name = 'Products' diff --git a/content/en/methods/menu-entry/_common/pre-post.md b/content/en/methods/menu-entry/_common/pre-post.md index 9023fe67d..8cc787ea9 100644 --- a/content/en/methods/menu-entry/_common/pre-post.md +++ b/content/en/methods/menu-entry/_common/pre-post.md @@ -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]] diff --git a/content/en/methods/menu/ByName.md b/content/en/methods/menu/ByName.md index 58092b4cd..3f1c52b2e 100644 --- a/content/en/methods/menu/ByName.md +++ b/content/en/methods/menu/ByName.md @@ -13,7 +13,7 @@ The `Sort` method returns the given menu with its entries sorted by `name`. Consider this menu definition: -{{< code-toggle file=hugo copy=false >}} +{{< code-toggle file=hugo >}} [[menu.main]] name = 'Services' pageRef = '/services' diff --git a/content/en/methods/menu/ByWeight.md b/content/en/methods/menu/ByWeight.md index 6e01c7ae4..c915914db 100644 --- a/content/en/methods/menu/ByWeight.md +++ b/content/en/methods/menu/ByWeight.md @@ -15,7 +15,7 @@ The `ByWeight` method returns the given menu with its entries sorted by [`weight Consider this menu definition: -{{< code-toggle file=hugo copy=false >}} +{{< code-toggle file=hugo >}} [[menu.main]] identifier = 'about' name = 'About' diff --git a/content/en/methods/menu/Limit.md b/content/en/methods/menu/Limit.md index 3bbd106af..12263e811 100644 --- a/content/en/methods/menu/Limit.md +++ b/content/en/methods/menu/Limit.md @@ -13,7 +13,7 @@ The `Limit` method returns the given menu, limited to the first N entries. Consider this menu definition: -{{< code-toggle file=hugo copy=false >}} +{{< code-toggle file=hugo >}} [[menu.main]] name = 'Services' pageRef = '/services' diff --git a/content/en/methods/menu/Reverse.md b/content/en/methods/menu/Reverse.md index 90b2bbb2f..989132d60 100644 --- a/content/en/methods/menu/Reverse.md +++ b/content/en/methods/menu/Reverse.md @@ -13,7 +13,7 @@ The `Reverse` method returns the given menu, reversing the sort order of its ent Consider this menu definition: -{{< code-toggle file=hugo copy=false >}} +{{< code-toggle file=hugo >}} [[menu.main]] name = 'Services' pageRef = '/services' diff --git a/content/en/methods/pages/Related.md b/content/en/methods/pages/Related.md index ecb8e9739..d4b659a73 100644 --- a/content/en/methods/pages/Related.md +++ b/content/en/methods/pages/Related.md @@ -15,7 +15,7 @@ Based on front matter, Hugo uses several factors to identify content related to The argument passed to the `Related` method may be a `Page` or an options map. For example, to pass the current page: -{{< code file="layouts/_default/single.html" lang=go-html-template copy=false >}} +{{< code file="layouts/_default/single.html" lang=go-html-template >}} {{ with .Site.RegularPages.Related . | first 5 }}

Related pages: