From af91eb1997ace34ef5eed0be31646e8483b78096 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 3 Jul 2026 10:43:53 +0200 Subject: [PATCH] Squashed 'docs/' changes from e17426e2b6..c85af679bf c85af679bf content: Miscellaneous edits 43149dae59 content: Cleanup trailing spaces 2b161d600c content: Improve hosting guides edc02f6402 content: Improve description of scheduled Cloudflare builds 83dff65d50 content: Fix typos a93f8b956b content: Fix formatting 3dde5702c7 content: Add instructions for scheduled Cloudflare builds b1075d9c77 content: Change wrangler config format in Cloudflare hosting guide 565d3292c3 content: Add .mjs and .cjs variants to mounted config files 4fc418d223 content: Update version references bf2efc9114 content: Update hosting guides 0d8ff2dfe1 Update HUGO_VERSION to 0.163.3 git-subtree-dir: docs git-subtree-split: c85af679bfe21dd7c01924c47933444f002bdc6b --- archetypes/glossary.md | 2 +- content/en/_common/functions/js/options.md | 2 +- content/en/_common/time-layout-string.md | 2 +- content/en/about/license.md | 2 +- content/en/about/security.md | 2 +- content/en/content-management/front-matter.md | 2 +- content/en/documentation.md | 2 +- content/en/functions/collections/Append.md | 2 +- content/en/functions/collections/D.md | 2 +- content/en/functions/collections/Shuffle.md | 2 +- content/en/functions/collections/Union.md | 2 +- content/en/functions/collections/Where.md | 4 +- content/en/functions/css/Build.md | 10 +- content/en/functions/css/Sass.md | 14 +- content/en/functions/debug/Timer.md | 2 +- content/en/functions/fmt/_index.md | 2 +- content/en/functions/global/page.md | 2 +- content/en/functions/global/site.md | 2 +- content/en/functions/go-template/else.md | 2 +- content/en/functions/go-template/end.md | 2 +- content/en/functions/go-template/range.md | 6 +- content/en/functions/go-template/template.md | 2 +- content/en/functions/hugo/Generator.md | 2 +- content/en/functions/hugo/IsMultilingual.md | 2 +- content/en/functions/hugo/Version.md | 2 +- content/en/functions/images/QR.md | 6 +- content/en/functions/partials/Include.md | 4 +- content/en/functions/resources/FromString.md | 2 +- content/en/functions/resources/GetRemote.md | 4 +- content/en/functions/resources/PostProcess.md | 6 +- content/en/functions/transform/Emojify.md | 2 +- .../functions/transform/HighlightCodeBlock.md | 2 +- content/en/functions/transform/ToMath.md | 2 +- content/en/functions/urls/AbsURL.md | 2 +- content/en/functions/urls/PathEscape.md | 2 +- content/en/functions/urls/PathUnescape.md | 2 +- .../en/getting-started/directory-structure.md | 6 +- content/en/getting-started/usage.md | 2 +- .../en/host-and-deploy/deploy-with-rclone.md | 6 +- .../en/host-and-deploy/deploy-with-rsync.md | 4 +- .../{amplify-step-05.png => amplify-01.png} | Bin .../{amplify-step-06.png => amplify-02.png} | Bin .../{amplify-step-07.png => amplify-03.png} | Bin .../{amplify-step-08.png => amplify-04.png} | Bin .../{amplify-step-09.png => amplify-05.png} | Bin .../{amplify-step-11.png => amplify-06.png} | Bin .../host-on-aws-amplify/index.md | 164 +++++++----- .../host-on-azure-static-web-apps.md | 2 +- .../host-on-cloudflare/index.md | 204 ++++++++++----- .../en/host-and-deploy/host-on-firebase.md | 2 +- .../host-on-github-pages/index.md | 150 ++++++----- .../host-and-deploy/host-on-gitlab-pages.md | 233 +++++++++++------- .../host-and-deploy/host-on-netlify/index.md | 65 ++--- .../host-and-deploy/host-on-render/index.md | 128 ++++++---- .../host-on-sourcehut-pages.md | 2 +- .../host-and-deploy/host-on-vercel/index.md | 153 +++++++----- .../en/hugo-modules/nodejs-dependencies.md | 4 +- content/en/methods/page/CurrentSection.md | 4 +- content/en/methods/page/Data.md | 2 +- content/en/methods/page/FirstSection.md | 2 +- content/en/methods/page/GitInfo.md | 4 +- content/en/methods/page/IsBranch.md | 2 +- content/en/methods/page/Parent.md | 4 +- content/en/methods/page/Path.md | 4 +- content/en/methods/page/Type.md | 2 +- content/en/methods/site/GetPage.md | 2 +- content/en/methods/site/Home.md | 2 +- content/en/methods/site/Language.md | 2 +- .../glossary/regular-expression.md | 1 - content/en/shortcodes/figure.md | 4 +- content/en/templates/introduction.md | 10 +- content/en/templates/types.md | 2 +- content/en/troubleshooting/performance.md | 2 +- netlify.toml | 2 +- 74 files changed, 776 insertions(+), 510 deletions(-) rename content/en/host-and-deploy/host-on-aws-amplify/{amplify-step-05.png => amplify-01.png} (100%) rename content/en/host-and-deploy/host-on-aws-amplify/{amplify-step-06.png => amplify-02.png} (100%) rename content/en/host-and-deploy/host-on-aws-amplify/{amplify-step-07.png => amplify-03.png} (100%) rename content/en/host-and-deploy/host-on-aws-amplify/{amplify-step-08.png => amplify-04.png} (100%) rename content/en/host-and-deploy/host-on-aws-amplify/{amplify-step-09.png => amplify-05.png} (100%) rename content/en/host-and-deploy/host-on-aws-amplify/{amplify-step-11.png => amplify-06.png} (100%) diff --git a/archetypes/glossary.md b/archetypes/glossary.md index 1eeb4ef4b..ea3c3b885 100644 --- a/archetypes/glossary.md +++ b/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/content/en/documentation.md b/content/en/documentation.md index 9bd3421e9..81ed0450b 100644 --- a/content/en/documentation.md +++ b/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/content/en/functions/collections/Append.md b/content/en/functions/collections/Append.md index d392a3f83..75b6a8992 100644 --- a/content/en/functions/collections/Append.md +++ b/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/content/en/functions/collections/D.md b/content/en/functions/collections/D.md index 15231d7bd..7150e15ed 100644 --- a/content/en/functions/collections/D.md +++ b/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/content/en/functions/collections/Shuffle.md b/content/en/functions/collections/Shuffle.md index cdaea0ac9..17a675a18 100644 --- a/content/en/functions/collections/Shuffle.md +++ b/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/content/en/functions/collections/Union.md b/content/en/functions/collections/Union.md index 8df39df53..da993561c 100644 --- a/content/en/functions/collections/Union.md +++ b/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/content/en/functions/collections/Where.md b/content/en/functions/collections/Where.md index 7807fbd7b..8b3c2eba3 100644 --- a/content/en/functions/collections/Where.md +++ b/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 -