diff --git a/content/en/configuration/module.md b/content/en/configuration/module.md index 3c8921cc3..4e1e60a0f 100644 --- a/content/en/configuration/module.md +++ b/content/en/configuration/module.md @@ -77,7 +77,7 @@ extended : (`bool`) Whether the extended edition of Hugo is required, satisfied by installing either the extended or extended/deploy edition. max -: (`string`) The maximum Hugo version supported, for example `0.149.0`. +: (`string`) The maximum Hugo version supported, for example `0.150.0`. min : (`string`) The minimum Hugo version supported, for example `0.102.0`. diff --git a/content/en/contribute/development.md b/content/en/contribute/development.md index 399d6f628..e3ec6cc71 100644 --- a/content/en/contribute/development.md +++ b/content/en/contribute/development.md @@ -143,7 +143,7 @@ CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest To build and install a specific release: ```sh -CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.149.0 +CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.150.0 ``` To build and install at the latest commit on the master branch: diff --git a/content/en/functions/hugo/Generator.md b/content/en/functions/hugo/Generator.md index d159c1ce2..1ac7e4388 100644 --- a/content/en/functions/hugo/Generator.md +++ b/content/en/functions/hugo/Generator.md @@ -11,5 +11,5 @@ params: --- ```go-html-template -{{ hugo.Generator }} → +{{ hugo.Generator }} → ``` diff --git a/content/en/functions/hugo/Version.md b/content/en/functions/hugo/Version.md index dfba82a29..a0a0bfc8e 100644 --- a/content/en/functions/hugo/Version.md +++ b/content/en/functions/hugo/Version.md @@ -11,5 +11,5 @@ params: --- ```go-html-template -{{ hugo.Version }} → 0.149.0 +{{ hugo.Version }} → 0.150.0 ``` diff --git a/content/en/functions/resources/FromString.md b/content/en/functions/resources/FromString.md index bbe1ddc06..f7197fe90 100644 --- a/content/en/functions/resources/FromString.md +++ b/content/en/functions/resources/FromString.md @@ -23,7 +23,7 @@ Let's say you need to publish a file named "site.json" in the root of your `publ ```json { "build_date": "2025-07-08T13:12:19-07:00", - "hugo_version": "0.149.0", + "hugo_version": "0.150.0", "last_modified": "2025-07-07T22:09:13-07:00" } ``` diff --git a/content/en/getting-started/usage.md b/content/en/getting-started/usage.md index b91416bd2..202075c79 100644 --- a/content/en/getting-started/usage.md +++ b/content/en/getting-started/usage.md @@ -18,7 +18,7 @@ hugo version You should see something like: ```text -hugo v0.149.0-66240338f1b908ca3b163384c8229943e74eb290+extended linux/amd64 BuildDate=2025-08-27T15:37:16Z VendorInfo=gohugoio +hugo v0.150.0-3f5473b7d4e7377e807290c3acc89feeef1aaa71+extended linux/amd64 BuildDate=2025-09-08T13:01:12Z VendorInfo=gohugoio ``` ## Display available commands diff --git a/content/en/host-and-deploy/host-on-aws-amplify/index.md b/content/en/host-and-deploy/host-on-aws-amplify/index.md index 761b0f8aa..5297bb27b 100644 --- a/content/en/host-and-deploy/host-on-aws-amplify/index.md +++ b/content/en/host-and-deploy/host-on-aws-amplify/index.md @@ -40,9 +40,9 @@ Step 2 env: variables: # Application versions - DART_SASS_VERSION: 1.91.0 - GO_VERSION: 1.25.0 - HUGO_VERSION: 0.149.0 + DART_SASS_VERSION: 1.92.1 + GO_VERSION: 1.25.1 + HUGO_VERSION: 0.150.0 # Time zone TZ: Europe/Oslo # Cache diff --git a/content/en/host-and-deploy/host-on-cloudflare/index.md b/content/en/host-and-deploy/host-on-cloudflare/index.md index f76bbe088..9a1610c98 100644 --- a/content/en/host-and-deploy/host-on-cloudflare/index.md +++ b/content/en/host-and-deploy/host-on-cloudflare/index.md @@ -25,8 +25,6 @@ Step 1 : Create a `wrangler.toml` file in the root of your project. ```toml {file="wrangler.toml" copy=true} - # Configure Cloudflare Worker - name = "hosting-cloudflare-worker" compatibility_date = "2025-07-31" @@ -53,9 +51,9 @@ Step 2 main() { - DART_SASS_VERSION=1.91.0 - GO_VERSION=1.25.0 - HUGO_VERSION=0.149.0 + DART_SASS_VERSION=1.92.1 + GO_VERSION=1.25.1 + HUGO_VERSION=0.150.0 NODE_VERSION=22.18.0 export TZ=Europe/Oslo diff --git a/content/en/host-and-deploy/host-on-codeberg-pages.md b/content/en/host-and-deploy/host-on-codeberg-pages.md index b322466e4..899e32b92 100644 --- a/content/en/host-and-deploy/host-on-codeberg-pages.md +++ b/content/en/host-and-deploy/host-on-codeberg-pages.md @@ -111,7 +111,7 @@ jobs: runs-on: codeberg-tiny-lazy container: # Specify "hugomods/hugo:exts" if you want to always use the latest version of Hugo for building. - image: "hugomods/hugo:exts-0.149.0" + image: "hugomods/hugo:exts-0.150.0" steps: - name: Clone the repository uses: https://code.forgejo.org/actions/checkout@v4 @@ -201,7 +201,7 @@ jobs: runs-on: codeberg-tiny-lazy container: # Specify "hugomods/hugo:exts" if you want to always use the latest version of Hugo for building. - image: "hugomods/hugo:exts-0.149.0" + image: "hugomods/hugo:exts-0.150.0" steps: - name: Clone the repository uses: https://code.forgejo.org/actions/checkout@v4 diff --git a/content/en/host-and-deploy/host-on-github-pages/index.md b/content/en/host-and-deploy/host-on-github-pages/index.md index c3f360682..2cd25a304 100644 --- a/content/en/host-and-deploy/host-on-github-pages/index.md +++ b/content/en/host-and-deploy/host-on-github-pages/index.md @@ -77,9 +77,9 @@ Step 4 build: runs-on: ubuntu-latest env: - DART_SASS_VERSION: 1.91.0 - GO_VERSION: 1.25.0 - HUGO_VERSION: 0.149.0 + DART_SASS_VERSION: 1.92.1 + GO_VERSION: 1.25.1 + HUGO_VERSION: 0.150.0 NODE_VERSION: 22.18.0 TZ: Europe/Oslo steps: diff --git a/content/en/host-and-deploy/host-on-gitlab-pages.md b/content/en/host-and-deploy/host-on-gitlab-pages.md index 14488d6eb..4e830597f 100644 --- a/content/en/host-and-deploy/host-on-gitlab-pages.md +++ b/content/en/host-and-deploy/host-on-gitlab-pages.md @@ -24,8 +24,8 @@ Define your [CI/CD](g) jobs by creating a `.gitlab-ci.yml` file in the root of y ```yaml {file=".gitlab-ci.yml" copy=true} variables: # Application versions - DART_SASS_VERSION: 1.91.0 - HUGO_VERSION: 0.149.0 + DART_SASS_VERSION: 1.92.1 + HUGO_VERSION: 0.150.0 NODE_VERSION: 22.18.0 # Git GIT_DEPTH: 0 @@ -35,7 +35,7 @@ variables: TZ: Europe/Oslo image: - name: golang:1.25.0-bookworm + name: golang:1.25.1-bookworm pages: stage: deploy diff --git a/content/en/host-and-deploy/host-on-netlify/index.md b/content/en/host-and-deploy/host-on-netlify/index.md index d89d43f5b..c01e6423d 100644 --- a/content/en/host-and-deploy/host-on-netlify/index.md +++ b/content/en/host-and-deploy/host-on-netlify/index.md @@ -23,108 +23,99 @@ Please complete the following tasks before continuing: ## Procedure + + Step 1 -: Log in to your Netlify account, navigate to the Sites page, press the **Add new site** button, and choose "Import an existing project" from the dropdown menu. +: Create a `netlify.toml` file in the root of your project. + + ```text {file="netlify.toml" copy=true} + [build.environment] + DART_SASS_VERSION = "1.92.1" + GO_VERSION = "1.25.1" + HUGO_VERSION = "0.150.0" + NODE_VERSION = "22.18.0" + TZ = "Europe/Oslo" + + [build] + publish = "public" + command = """\ + git config core.quotepath false && \ + hugo --gc --minify --baseURL "${URL}" + """ + ``` + + If your site requires Dart Sass to transpile Sass to CSS, set the `DART_SASS_VERSION` and include the Dart Sass installation in the build step. + + ```text {file="netlify.toml" copy=true} + [build.environment] + DART_SASS_VERSION = "1.92.1" + GO_VERSION = "1.25.1" + HUGO_VERSION = "0.150.0" + NODE_VERSION = "22.18.0" + TZ = "Europe/Oslo" + + [build] + publish = "public" + command = """\ + curl -sLJO "https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \ + tar -C "${HOME}/.local" -xf "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \ + rm "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \ + export PATH="${HOME}/.local/dart-sass:${PATH}" && \ + git config core.quotepath false && \ + hugo --gc --minify --baseURL "${URL}" + """ + ``` Step 2 -: Select your deployment method. - - ![screen capture](netlify-step-02.png) +: Commit the changes to your local Git repository and push to your GitHub repository. Step 3 -: Authorize Netlify to connect with your GitHub account by pressing the **Authorize Netlify** button. +: In the upper right corner of the Netlify dashboard, press the **Add new project** button and select “Import an existing project". - ![screen capture](netlify-step-03.png) + ![screen capture](netlify-01.png) Step 4 -: Press the **Configure Netlify on GitHub** button. +: Connect to GitHub. - ![screen capture](netlify-step-04.png) + ![screen capture](netlify-02.png) Step 5 -: Install the Netlify app by selecting your GitHub account. +: Press the "Authorize Netlify" button to allow the Netlify application to access your GitHub account. - ![screen capture](netlify-step-05.png) + ![screen capture](netlify-03.png) Step 6 -: Press the **Install** button. - - ![screen capture](netlify-step-06.png) +: Press the **Configure Netlify on GitHub** button. + + ![screen capture](netlify-04.png) Step 7 -: Click on the site's repository from the list. +: Select the GitHub account where you want to install the Netlify application. - ![screen capture](netlify-step-07.png) + ![screen capture](netlify-05.png) Step 8 -: Set the site name and branch from which to deploy. +: Authorize the Netlify application to access all repositories or only select repositories, then press the Install button. - ![screen capture](netlify-step-08.png) + ![screen capture](netlify-06.png) + +Your browser will be redirected to the Netlify dashboard. Step 9 -: Define the build settings, press the **Add environment variables** button, then press the **New variable** button. +: Click on the name of the repository you wish to import. - ![screen capture](netlify-step-09.png) + ![screen capture](netlify-07.png) Step 10 -: Create a new environment variable named `HUGO_VERSION` and set the value to the [latest version](https://github.com/gohugoio/hugo/releases/latest). +: On the "Review configuration" page, enter a project name, leave the settings at their default values, then press the **Deploy** button. - ![screen capture](netlify-step-10.png) + ![screen capture](netlify-08.png) + + ![screen capture](netlify-09.png) Step 11 -: Press the "Deploy my new site" button at the bottom of the page. +: When the deployment completes, click on the link to your published site. - ![screen capture](netlify-step-11.png) + ![screen capture](netlify-10.png) -Step 12 -: At the bottom of the screen, wait for the deploy to complete, then click on the deploy log entry. - - ![screen capture](netlify-step-12.png) - -Step 13 -: Press the **Open production deploy** button to view the live site. - - ![screen capture](netlify-step-13.png) - -## Configuration file - -In the procedure above we configured our site using the Netlify user interface. Most site owners find it easier to use a configuration file checked into source control. - -Create a new file named `netlify.toml` in the root of your project directory. In its simplest form, the configuration file might look like this: - -```toml {file="netlify.toml"} -[build.environment] -GO_VERSION = "1.25.0" -HUGO_VERSION = "0.149.0" -NODE_VERSION = "22.18.0" -TZ = "Europe/Oslo" - -[build] -publish = "public" -command = """\ - git config core.quotepath false && \ - hugo --gc --minify --baseURL "${URL}" - """ -``` - -If your site requires Dart Sass to transpile Sass to CSS, the configuration file should look something like this: - -```toml {file="netlify.toml"} -[build.environment] -DART_SASS_VERSION = "1.91.0" -GO_VERSION = "1.25.0" -HUGO_VERSION = "0.149.0" -NODE_VERSION = "22.18.0" -TZ = "Europe/Oslo" - -[build] -publish = "public" -command = """\ - curl -sLJO "https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \ - tar -C "${HOME}/.local" -xf "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \ - rm "dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \ - export PATH="${HOME}/.local/dart-sass:${PATH}" && \ - git config core.quotepath false && \ - hugo --gc --minify --baseURL "${URL}" - """ -``` +In the future, whenever you push a change from your local Git repository, Netlify will rebuild and deploy your site. diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-01.png b/content/en/host-and-deploy/host-on-netlify/netlify-01.png new file mode 100644 index 000000000..5d09da9d4 Binary files /dev/null and b/content/en/host-and-deploy/host-on-netlify/netlify-01.png differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-02.png b/content/en/host-and-deploy/host-on-netlify/netlify-02.png new file mode 100644 index 000000000..0c76e1d3d Binary files /dev/null and b/content/en/host-and-deploy/host-on-netlify/netlify-02.png differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-03.png b/content/en/host-and-deploy/host-on-netlify/netlify-03.png new file mode 100644 index 000000000..5bfceabbe Binary files /dev/null and b/content/en/host-and-deploy/host-on-netlify/netlify-03.png differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-04.png b/content/en/host-and-deploy/host-on-netlify/netlify-04.png new file mode 100644 index 000000000..e059dcae4 Binary files /dev/null and b/content/en/host-and-deploy/host-on-netlify/netlify-04.png differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-05.png b/content/en/host-and-deploy/host-on-netlify/netlify-05.png new file mode 100644 index 000000000..ffb8b983f Binary files /dev/null and b/content/en/host-and-deploy/host-on-netlify/netlify-05.png differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-06.png b/content/en/host-and-deploy/host-on-netlify/netlify-06.png new file mode 100644 index 000000000..0bf5a29cb Binary files /dev/null and b/content/en/host-and-deploy/host-on-netlify/netlify-06.png differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-07.png b/content/en/host-and-deploy/host-on-netlify/netlify-07.png new file mode 100644 index 000000000..9842fac37 Binary files /dev/null and b/content/en/host-and-deploy/host-on-netlify/netlify-07.png differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-08.png b/content/en/host-and-deploy/host-on-netlify/netlify-08.png new file mode 100644 index 000000000..8d6874769 Binary files /dev/null and b/content/en/host-and-deploy/host-on-netlify/netlify-08.png differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-09.png b/content/en/host-and-deploy/host-on-netlify/netlify-09.png new file mode 100644 index 000000000..5807f6b2d Binary files /dev/null and b/content/en/host-and-deploy/host-on-netlify/netlify-09.png differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-10.png b/content/en/host-and-deploy/host-on-netlify/netlify-10.png new file mode 100644 index 000000000..0577a46fc Binary files /dev/null and b/content/en/host-and-deploy/host-on-netlify/netlify-10.png differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-step-02.png b/content/en/host-and-deploy/host-on-netlify/netlify-step-02.png deleted file mode 100644 index 31fceff27..000000000 Binary files a/content/en/host-and-deploy/host-on-netlify/netlify-step-02.png and /dev/null differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-step-03.png b/content/en/host-and-deploy/host-on-netlify/netlify-step-03.png deleted file mode 100644 index 7b98e0b8f..000000000 Binary files a/content/en/host-and-deploy/host-on-netlify/netlify-step-03.png and /dev/null differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-step-04.png b/content/en/host-and-deploy/host-on-netlify/netlify-step-04.png deleted file mode 100644 index 31304894b..000000000 Binary files a/content/en/host-and-deploy/host-on-netlify/netlify-step-04.png and /dev/null differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-step-05.png b/content/en/host-and-deploy/host-on-netlify/netlify-step-05.png deleted file mode 100644 index 6d6eef01d..000000000 Binary files a/content/en/host-and-deploy/host-on-netlify/netlify-step-05.png and /dev/null differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-step-06.png b/content/en/host-and-deploy/host-on-netlify/netlify-step-06.png deleted file mode 100644 index 1b766a785..000000000 Binary files a/content/en/host-and-deploy/host-on-netlify/netlify-step-06.png and /dev/null differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-step-07.png b/content/en/host-and-deploy/host-on-netlify/netlify-step-07.png deleted file mode 100644 index 7bb3b6eca..000000000 Binary files a/content/en/host-and-deploy/host-on-netlify/netlify-step-07.png and /dev/null differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-step-08.png b/content/en/host-and-deploy/host-on-netlify/netlify-step-08.png deleted file mode 100644 index df8e9e59f..000000000 Binary files a/content/en/host-and-deploy/host-on-netlify/netlify-step-08.png and /dev/null differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-step-09.png b/content/en/host-and-deploy/host-on-netlify/netlify-step-09.png deleted file mode 100644 index 3f925accc..000000000 Binary files a/content/en/host-and-deploy/host-on-netlify/netlify-step-09.png and /dev/null differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-step-10.png b/content/en/host-and-deploy/host-on-netlify/netlify-step-10.png deleted file mode 100644 index e9196d0ce..000000000 Binary files a/content/en/host-and-deploy/host-on-netlify/netlify-step-10.png and /dev/null differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-step-11.png b/content/en/host-and-deploy/host-on-netlify/netlify-step-11.png deleted file mode 100644 index 2ac2b08af..000000000 Binary files a/content/en/host-and-deploy/host-on-netlify/netlify-step-11.png and /dev/null differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-step-12.png b/content/en/host-and-deploy/host-on-netlify/netlify-step-12.png deleted file mode 100644 index e251305a4..000000000 Binary files a/content/en/host-and-deploy/host-on-netlify/netlify-step-12.png and /dev/null differ diff --git a/content/en/host-and-deploy/host-on-netlify/netlify-step-13.png b/content/en/host-and-deploy/host-on-netlify/netlify-step-13.png deleted file mode 100644 index f955f6369..000000000 Binary files a/content/en/host-and-deploy/host-on-netlify/netlify-step-13.png and /dev/null differ diff --git a/content/en/host-and-deploy/host-on-render/index.md b/content/en/host-and-deploy/host-on-render/index.md index 3b52cbb05..2baa7cfe5 100644 --- a/content/en/host-and-deploy/host-on-render/index.md +++ b/content/en/host-and-deploy/host-on-render/index.md @@ -35,11 +35,11 @@ Step 1 staticPublishPath: public envVars: - key: DART_SASS_VERSION - value: 1.91.0 + value: 1.92.1 - key: GO_VERSION - value: 1.25.0 + value: 1.25.1 - key: HUGO_VERSION - value: 0.149.0 + value: 0.150.0 - key: NODE_VERSION value: 22.18.0 - key: TZ diff --git a/content/en/host-and-deploy/host-on-vercel/index.md b/content/en/host-and-deploy/host-on-vercel/index.md index 787a33339..a54335736 100644 --- a/content/en/host-and-deploy/host-on-vercel/index.md +++ b/content/en/host-and-deploy/host-on-vercel/index.md @@ -47,9 +47,9 @@ Step 2 main() { - DART_SASS_VERSION=1.91.0 - GO_VERSION=1.25.0 - HUGO_VERSION=0.149.0 + DART_SASS_VERSION=1.92.1 + GO_VERSION=1.25.1 + HUGO_VERSION=0.150.0 NODE_VERSION=22.18.0 export TZ=Europe/Oslo