From 8c1debf3a5b8fda8a3b09f0965015a049295a5eb Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Thu, 16 Jan 2025 07:47:24 -0800 Subject: [PATCH] Remove outdated new-in badges --- content/en/content-management/related.md | 8 +++----- content/en/functions/global/page.md | 2 -- content/en/functions/strings/ContainsNonSpace.md | 2 -- content/en/methods/page/Fragments.md | 2 -- 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/content/en/content-management/related.md b/content/en/content-management/related.md index 16a8ea428..a9413fda7 100644 --- a/content/en/content-management/related.md +++ b/content/en/content-management/related.md @@ -65,8 +65,6 @@ We improved and simplified this feature in Hugo 0.111.0. Before this we had 3 di ## Index content headings in related content -{{< new-in 0.111.0 >}} - Hugo can index the headings in your content and use this to find related content. You can enable this by adding a index of type `fragments` to your `related` configuration: {{< code-toggle file=hugo >}} @@ -140,16 +138,16 @@ toLower name : (`string`) The index name. This value maps directly to a page parameter. Hugo supports string values (`author` in the example) and lists (`tags`, `keywords` etc.) and time and date objects. -type {{< new-in 0.111.0 >}} +type : (`string`) One of `basic`(default) or `fragments`. -applyFilter {{< new-in 0.111.0 >}} +applyFilter : (`string`) Apply a `type` specific filter to the result of a search. This is currently only used for the `fragments` type. weight : (`int`) An integer weight that indicates _how important_ this parameter is relative to the other parameters. It can be `0`, which has the effect of turning this index off, or even negative. Test with different values to see what fits your content best. -cardinalityThreshold {{< new-in 0.111.0 >}} +cardinalityThreshold : (`int`) If between 1 and 100, this is a percentage. All keywords that are used in more than this percentage of documents are removed. For example, setting this to `60` will remove all keywords that are used in more than 60% of the documents in the index. If `0`, no keyword is removed from the index. Default is `0`. pattern diff --git a/content/en/functions/global/page.md b/content/en/functions/global/page.md index b952597b2..c70446154 100644 --- a/content/en/functions/global/page.md +++ b/content/en/functions/global/page.md @@ -13,8 +13,6 @@ toc: true aliases: [/functions/page] --- -{{< new-in 0.111.0 >}} - At the top level of a template that receives a `Page` object in context, these are equivalent: ```go-html-template diff --git a/content/en/functions/strings/ContainsNonSpace.md b/content/en/functions/strings/ContainsNonSpace.md index 81e11a5ba..eea86f396 100644 --- a/content/en/functions/strings/ContainsNonSpace.md +++ b/content/en/functions/strings/ContainsNonSpace.md @@ -16,8 +16,6 @@ action: aliases: [/functions/strings.containsnonspace] --- -{{< new-in 0.111.0 >}} - Whitespace characters include `\t`, `\n`, `\v`, `\f`, `\r`, and characters in the [Unicode Space Separator] category. [Unicode Space Separator]: https://www.compart.com/en/unicode/category/Zs diff --git a/content/en/methods/page/Fragments.md b/content/en/methods/page/Fragments.md index 0bc6b651c..140d649ad 100644 --- a/content/en/methods/page/Fragments.md +++ b/content/en/methods/page/Fragments.md @@ -11,8 +11,6 @@ action: toc: true --- -{{< new-in 0.111.0 >}} - In a URL, whether absolute or relative, the [fragment] links to an `id` attribute of an HTML element on the page. ```text