mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
content: Update version references
This commit is contained in:
@@ -75,10 +75,10 @@ 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.143.0`.
|
||||
: (`string`) The maximum Hugo version supported, for example `0.148.0`.
|
||||
|
||||
min
|
||||
: (`string`) The minimum Hugo version supported, for example `0.123.0`.
|
||||
: (`string`) The minimum Hugo version supported, for example `0.102.0`.
|
||||
|
||||
[`themesDir`]: /configuration/all/#themesdir
|
||||
|
||||
|
||||
@@ -153,7 +153,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.147.1
|
||||
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.148.0
|
||||
```
|
||||
|
||||
To build and install at the latest commit on the master branch:
|
||||
@@ -165,7 +165,7 @@ CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@master
|
||||
To build and install at a specific commit:
|
||||
|
||||
```sh
|
||||
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@0851c17
|
||||
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@c0d9beb
|
||||
```
|
||||
|
||||
[bugs]: https://github.com/gohugoio/hugo/issues?q=is%3Aopen+is%3Aissue+label%3ABug
|
||||
|
||||
@@ -141,7 +141,7 @@ To install Dart Sass for your builds on GitLab Pages, the `.gitlab-ci.yml` file
|
||||
|
||||
```yaml
|
||||
variables:
|
||||
HUGO_VERSION: 0.147.9
|
||||
HUGO_VERSION: 0.148.0
|
||||
DART_SASS_VERSION: 1.89.2
|
||||
GIT_DEPTH: 0
|
||||
GIT_STRATEGY: clone
|
||||
@@ -175,7 +175,7 @@ To install Dart Sass for your builds on Netlify, the `netlify.toml` file should
|
||||
|
||||
```toml
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.147.9"
|
||||
HUGO_VERSION = "0.148.0"
|
||||
DART_SASS_VERSION = "1.89.2"
|
||||
NODE_VERSION = "22"
|
||||
TZ = "America/Los_Angeles"
|
||||
|
||||
@@ -11,5 +11,5 @@ params:
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.147.9">
|
||||
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.148.0">
|
||||
```
|
||||
|
||||
@@ -11,5 +11,5 @@ params:
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
{{ hugo.Version }} → 0.147.9
|
||||
{{ hugo.Version }} → 0.148.0
|
||||
```
|
||||
|
||||
@@ -22,9 +22,9 @@ Let's say you need to publish a file named "site.json" in the root of your `publ
|
||||
|
||||
```json
|
||||
{
|
||||
"build_date": "2025-05-03T19:14:41-08:00",
|
||||
"hugo_version": "0.147.9",
|
||||
"last_modified": "2025-05-03T19:14:46-08:00"
|
||||
"build_date": "2025-07-08T13:12:19-07:00",
|
||||
"hugo_version": "0.148.0",
|
||||
"last_modified": "2025-07-07T22:09:13-07:00"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ env:
|
||||
# Application versions
|
||||
DART_SASS_VERSION: 1.89.2
|
||||
GO_VERSION: 1.24.2
|
||||
HUGO_VERSION: 0.147.9
|
||||
HUGO_VERSION: 0.148.0
|
||||
# Time zone
|
||||
TZ: America/Los_Angeles
|
||||
# Cache
|
||||
|
||||
@@ -109,7 +109,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.147.9"
|
||||
image: "hugomods/hugo:exts-0.148.0"
|
||||
steps:
|
||||
- name: Clone the repository
|
||||
uses: https://code.forgejo.org/actions/checkout@v4
|
||||
@@ -195,7 +195,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.147.9"
|
||||
image: "hugomods/hugo:exts-0.148.0"
|
||||
steps:
|
||||
- name: Clone the repository
|
||||
uses: https://code.forgejo.org/actions/checkout@v4
|
||||
|
||||
@@ -109,7 +109,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DART_SASS_VERSION: 1.89.2
|
||||
HUGO_VERSION: 0.147.9
|
||||
HUGO_VERSION: 0.148.0
|
||||
HUGO_ENVIRONMENT: production
|
||||
TZ: America/Los_Angeles
|
||||
steps:
|
||||
|
||||
@@ -27,7 +27,7 @@ variables:
|
||||
GIT_DEPTH: 0
|
||||
GIT_STRATEGY: clone
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
HUGO_VERSION: 0.147.9
|
||||
HUGO_VERSION: 0.148.0
|
||||
NODE_VERSION: 22.x
|
||||
TZ: America/Los_Angeles
|
||||
image:
|
||||
|
||||
@@ -114,7 +114,7 @@ Create a new file named netlify.toml in the root of your project directory. In i
|
||||
```toml {file="netlify.toml"}
|
||||
[build.environment]
|
||||
GO_VERSION = "1.24.2"
|
||||
HUGO_VERSION = "0.147.9"
|
||||
HUGO_VERSION = "0.148.0"
|
||||
NODE_VERSION = "22"
|
||||
TZ = "America/Los_Angeles"
|
||||
|
||||
@@ -129,7 +129,7 @@ If your site requires Dart Sass to transpile Sass to CSS, the configuration file
|
||||
[build.environment]
|
||||
DART_SASS_VERSION = "1.89.2"
|
||||
GO_VERSION = "1.24.2"
|
||||
HUGO_VERSION = "0.147.9"
|
||||
HUGO_VERSION = "0.148.0"
|
||||
NODE_VERSION = "22"
|
||||
TZ = "America/Los_Angeles"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user