diff --git a/docs/archetypes/glossary.md b/docs/archetypes/glossary.md index 1eeb4ef4b..ea3c3b885 100644 --- a/docs/archetypes/glossary.md +++ b/docs/archetypes/glossary.md @@ -1,7 +1,7 @@ --- title: {{ replace .File.ContentBaseName "-" " " }} params: - reference: + reference: --- - + {{< code-toggle file=content/_index.md fm=true >}} title = 'Home' [sites.matrix] diff --git a/docs/content/en/documentation.md b/docs/content/en/documentation.md index 9bd3421e9..81ed0450b 100644 --- a/docs/content/en/documentation.md +++ b/docs/content/en/documentation.md @@ -18,5 +18,5 @@ Try to use the same language (e.g., tagline) everywhere: - Home: https://gohugo.io/ - Docs: https://gohugo.io/documentation/ - Project repo: https://github.com/gohugoio/hugo?tab=readme-ov-file#readme -- Docs repo: https://github.com/gohugoio/hugoDocs?tab=readme-ov-file#readme +- Docs repo: https://github.com/gohugoio/hugoDocs?tab=readme-ov-file#readme --> diff --git a/docs/content/en/functions/collections/Append.md b/docs/content/en/functions/collections/Append.md index d392a3f83..75b6a8992 100644 --- a/docs/content/en/functions/collections/Append.md +++ b/docs/content/en/functions/collections/Append.md @@ -7,7 +7,7 @@ params: functions_and_methods: aliases: [append] returnType: '[]any' - signatures: + signatures: - collections.Append ELEMENT [ELEMENT...] SLICE - collections.Append SLICE1 SLICE2 aliases: [/functions/append] diff --git a/docs/content/en/functions/collections/D.md b/docs/content/en/functions/collections/D.md index 15231d7bd..7150e15ed 100644 --- a/docs/content/en/functions/collections/D.md +++ b/docs/content/en/functions/collections/D.md @@ -47,7 +47,7 @@ The example above generates the _same_ random numbers each time it is called. To When `N` is greater than `HIGH`, this function returns the full, sorted range [0, `HIGH`) of size `HIGH`: ```go-html-template -{{ collections.D 6 42 7 }} → [0 1 2 3 4 5 6] +{{ collections.D 6 42 7 }} → [0 1 2 3 4 5 6] ``` A common use case is the selection of random pages from a page collection. For example, to render a list of 5 random pages using the [day of the year][] as the seed value: diff --git a/docs/content/en/functions/collections/Shuffle.md b/docs/content/en/functions/collections/Shuffle.md index cdaea0ac9..17a675a18 100644 --- a/docs/content/en/functions/collections/Shuffle.md +++ b/docs/content/en/functions/collections/Shuffle.md @@ -12,7 +12,7 @@ aliases: [/functions/shuffle] --- ```go-html-template -{{ collections.Shuffle (slice "a" "b" "c") }} → [b a c] +{{ collections.Shuffle (slice "a" "b" "c") }} → [b a c] ``` The result will vary from one build to the next. diff --git a/docs/content/en/functions/collections/Union.md b/docs/content/en/functions/collections/Union.md index 8df39df53..da993561c 100644 --- a/docs/content/en/functions/collections/Union.md +++ b/docs/content/en/functions/collections/Union.md @@ -8,7 +8,7 @@ params: aliases: [union] returnType: '[]any' signatures: [collections.Union SLICE1 SLICE2] -aliases: [/functions/union] +aliases: [/functions/union] --- diff --git a/docs/content/en/functions/collections/Where.md b/docs/content/en/functions/collections/Where.md index 7807fbd7b..8b3c2eba3 100644 --- a/docs/content/en/functions/collections/Where.md +++ b/docs/content/en/functions/collections/Where.md @@ -1,5 +1,5 @@ --- -title: collections.Where +title: collections.Where description: Returns a slice by filtering the given slice based on a key, operator, and value. categories: [] keywords: [] @@ -320,7 +320,7 @@ This template: Is rendered to: ```html -