mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 00:36:43 -04:00
content: Update version references
This commit is contained in:
parent
f8e863e97f
commit
e316dbf936
@ -77,7 +77,7 @@ extended
|
|||||||
: (`bool`) Whether the extended edition of Hugo is required, satisfied by installing either the extended or extended/deploy edition.
|
: (`bool`) Whether the extended edition of Hugo is required, satisfied by installing either the extended or extended/deploy edition.
|
||||||
|
|
||||||
max
|
max
|
||||||
: (`string`) The maximum Hugo version supported, for example `0.148.0`.
|
: (`string`) The maximum Hugo version supported, for example `0.149.0`.
|
||||||
|
|
||||||
min
|
min
|
||||||
: (`string`) The minimum Hugo version supported, for example `0.102.0`.
|
: (`string`) The minimum Hugo version supported, for example `0.102.0`.
|
||||||
|
@ -143,7 +143,7 @@ CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
|
|||||||
To build and install a specific release:
|
To build and install a specific release:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.148.0
|
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.149.0
|
||||||
```
|
```
|
||||||
|
|
||||||
To build and install at the latest commit on the master branch:
|
To build and install at the latest commit on the master branch:
|
||||||
|
@ -11,5 +11,5 @@ params:
|
|||||||
---
|
---
|
||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.148.0">
|
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.149.0">
|
||||||
```
|
```
|
||||||
|
@ -11,5 +11,5 @@ params:
|
|||||||
---
|
---
|
||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
{{ hugo.Version }} → 0.148.0
|
{{ hugo.Version }} → 0.149.0
|
||||||
```
|
```
|
||||||
|
@ -23,7 +23,7 @@ Let's say you need to publish a file named "site.json" in the root of your `publ
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"build_date": "2025-07-08T13:12:19-07:00",
|
"build_date": "2025-07-08T13:12:19-07:00",
|
||||||
"hugo_version": "0.148.0",
|
"hugo_version": "0.149.0",
|
||||||
"last_modified": "2025-07-07T22:09:13-07:00"
|
"last_modified": "2025-07-07T22:09:13-07:00"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -13,7 +13,7 @@ aliases: [/functions/transform.unmarshal]
|
|||||||
|
|
||||||
The input can be a string or a [resource](g).
|
The input can be a string or a [resource](g).
|
||||||
|
|
||||||
### Options
|
## Options
|
||||||
|
|
||||||
delimiter
|
delimiter
|
||||||
: (`string`) Applicable to CSV files. The delimiter used. Default is `,`.
|
: (`string`) Applicable to CSV files. The delimiter used. Default is `,`.
|
||||||
|
@ -40,9 +40,9 @@ Step 2
|
|||||||
env:
|
env:
|
||||||
variables:
|
variables:
|
||||||
# Application versions
|
# Application versions
|
||||||
DART_SASS_VERSION: 1.90.0
|
DART_SASS_VERSION: 1.91.0
|
||||||
GO_VERSION: 1.24.5
|
GO_VERSION: 1.25.0
|
||||||
HUGO_VERSION: 0.148.2
|
HUGO_VERSION: 0.149.0
|
||||||
# Time zone
|
# Time zone
|
||||||
TZ: Europe/Oslo
|
TZ: Europe/Oslo
|
||||||
# Cache
|
# Cache
|
||||||
|
@ -53,9 +53,9 @@ Step 2
|
|||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
|
||||||
DART_SASS_VERSION=1.90.0
|
DART_SASS_VERSION=1.91.0
|
||||||
GO_VERSION=1.24.5
|
GO_VERSION=1.25.0
|
||||||
HUGO_VERSION=0.148.2
|
HUGO_VERSION=0.149.0
|
||||||
NODE_VERSION=22.18.0
|
NODE_VERSION=22.18.0
|
||||||
|
|
||||||
export TZ=Europe/Oslo
|
export TZ=Europe/Oslo
|
||||||
|
@ -111,7 +111,7 @@ jobs:
|
|||||||
runs-on: codeberg-tiny-lazy
|
runs-on: codeberg-tiny-lazy
|
||||||
container:
|
container:
|
||||||
# Specify "hugomods/hugo:exts" if you want to always use the latest version of Hugo for building.
|
# Specify "hugomods/hugo:exts" if you want to always use the latest version of Hugo for building.
|
||||||
image: "hugomods/hugo:exts-0.148.0"
|
image: "hugomods/hugo:exts-0.149.0"
|
||||||
steps:
|
steps:
|
||||||
- name: Clone the repository
|
- name: Clone the repository
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
@ -201,7 +201,7 @@ jobs:
|
|||||||
runs-on: codeberg-tiny-lazy
|
runs-on: codeberg-tiny-lazy
|
||||||
container:
|
container:
|
||||||
# Specify "hugomods/hugo:exts" if you want to always use the latest version of Hugo for building.
|
# Specify "hugomods/hugo:exts" if you want to always use the latest version of Hugo for building.
|
||||||
image: "hugomods/hugo:exts-0.148.0"
|
image: "hugomods/hugo:exts-0.149.0"
|
||||||
steps:
|
steps:
|
||||||
- name: Clone the repository
|
- name: Clone the repository
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
@ -77,9 +77,9 @@ Step 4
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
DART_SASS_VERSION: 1.90.0
|
DART_SASS_VERSION: 1.91.0
|
||||||
GO_VERSION: 1.24.5
|
GO_VERSION: 1.25.0
|
||||||
HUGO_VERSION: 0.148.2
|
HUGO_VERSION: 0.149.0
|
||||||
NODE_VERSION: 22.18.0
|
NODE_VERSION: 22.18.0
|
||||||
TZ: Europe/Oslo
|
TZ: Europe/Oslo
|
||||||
steps:
|
steps:
|
||||||
|
@ -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}
|
```yaml {file=".gitlab-ci.yml" copy=true}
|
||||||
variables:
|
variables:
|
||||||
# Application versions
|
# Application versions
|
||||||
DART_SASS_VERSION: 1.90.0
|
DART_SASS_VERSION: 1.91.0
|
||||||
HUGO_VERSION: 0.148.2
|
HUGO_VERSION: 0.149.0
|
||||||
NODE_VERSION: 22.18.0
|
NODE_VERSION: 22.18.0
|
||||||
# Git
|
# Git
|
||||||
GIT_DEPTH: 0
|
GIT_DEPTH: 0
|
||||||
@ -35,7 +35,7 @@ variables:
|
|||||||
TZ: Europe/Oslo
|
TZ: Europe/Oslo
|
||||||
|
|
||||||
image:
|
image:
|
||||||
name: golang:1.24.5-bookworm
|
name: golang:1.25.0-bookworm
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
@ -94,8 +94,8 @@ Create a new file named `netlify.toml` in the root of your project directory. In
|
|||||||
|
|
||||||
```toml {file="netlify.toml"}
|
```toml {file="netlify.toml"}
|
||||||
[build.environment]
|
[build.environment]
|
||||||
GO_VERSION = "1.24.5"
|
GO_VERSION = "1.25.0"
|
||||||
HUGO_VERSION = "0.148.2"
|
HUGO_VERSION = "0.149.0"
|
||||||
NODE_VERSION = "22.18.0"
|
NODE_VERSION = "22.18.0"
|
||||||
TZ = "Europe/Oslo"
|
TZ = "Europe/Oslo"
|
||||||
|
|
||||||
@ -111,9 +111,9 @@ If your site requires Dart Sass to transpile Sass to CSS, the configuration file
|
|||||||
|
|
||||||
```toml {file="netlify.toml"}
|
```toml {file="netlify.toml"}
|
||||||
[build.environment]
|
[build.environment]
|
||||||
DART_SASS_VERSION = "1.90.0"
|
DART_SASS_VERSION = "1.91.0"
|
||||||
GO_VERSION = "1.24.5"
|
GO_VERSION = "1.25.0"
|
||||||
HUGO_VERSION = "0.148.2"
|
HUGO_VERSION = "0.149.0"
|
||||||
NODE_VERSION = "22.18.0"
|
NODE_VERSION = "22.18.0"
|
||||||
TZ = "Europe/Oslo"
|
TZ = "Europe/Oslo"
|
||||||
|
|
||||||
|
@ -35,11 +35,11 @@ Step 1
|
|||||||
staticPublishPath: public
|
staticPublishPath: public
|
||||||
envVars:
|
envVars:
|
||||||
- key: DART_SASS_VERSION
|
- key: DART_SASS_VERSION
|
||||||
value: 1.90.0
|
value: 1.91.0
|
||||||
- key: GO_VERSION
|
- key: GO_VERSION
|
||||||
value: 1.24.5
|
value: 1.25.0
|
||||||
- key: HUGO_VERSION
|
- key: HUGO_VERSION
|
||||||
value: 0.148.2
|
value: 0.149.0
|
||||||
- key: NODE_VERSION
|
- key: NODE_VERSION
|
||||||
value: 22.18.0
|
value: 22.18.0
|
||||||
- key: TZ
|
- key: TZ
|
||||||
|
@ -47,9 +47,9 @@ Step 2
|
|||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
|
||||||
DART_SASS_VERSION=1.90.0
|
DART_SASS_VERSION=1.91.0
|
||||||
GO_VERSION=1.24.5
|
GO_VERSION=1.25.0
|
||||||
HUGO_VERSION=0.148.2
|
HUGO_VERSION=0.149.0
|
||||||
NODE_VERSION=22.18.0
|
NODE_VERSION=22.18.0
|
||||||
|
|
||||||
export TZ=Europe/Oslo
|
export TZ=Europe/Oslo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user