mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 13:04:46 -04:00
Update version references
This commit is contained in:
parent
6140802d80
commit
58b9554b78
@ -158,7 +158,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.125.4
|
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.126.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 @@ action:
|
|||||||
---
|
---
|
||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.125.4">
|
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.126.0">
|
||||||
```
|
```
|
||||||
|
@ -11,5 +11,5 @@ action:
|
|||||||
---
|
---
|
||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
{{ hugo.Version }} → 0.125.4
|
{{ hugo.Version }} → 0.126.0
|
||||||
```
|
```
|
||||||
|
@ -24,7 +24,7 @@ Let's say you need to publish a file named "site.json" in the root of your publi
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"build_date": "2024-02-19T12:27:05-08:00",
|
"build_date": "2024-02-19T12:27:05-08:00",
|
||||||
"hugo_version": "0.125.4",
|
"hugo_version": "0.126.0",
|
||||||
"last_modified": "2024-02-19T12:01:42-08:00"
|
"last_modified": "2024-02-19T12:01:42-08:00"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -139,8 +139,8 @@ To install Dart Sass for your builds on GitLab Pages, the `.gitlab-ci.yml` file
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
variables:
|
variables:
|
||||||
HUGO_VERSION: 0.125.4
|
HUGO_VERSION: 0.126.0
|
||||||
DART_SASS_VERSION: 1.76.0
|
DART_SASS_VERSION: 1.77.1
|
||||||
GIT_DEPTH: 0
|
GIT_DEPTH: 0
|
||||||
GIT_STRATEGY: clone
|
GIT_STRATEGY: clone
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
@ -173,8 +173,8 @@ To install Dart Sass for your builds on Netlify, the `netlify.toml` file should
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.125.4"
|
HUGO_VERSION = "0.126.0"
|
||||||
DART_SASS_VERSION = "1.76.0"
|
DART_SASS_VERSION = "1.77.1"
|
||||||
TZ = "America/Los_Angeles"
|
TZ = "America/Los_Angeles"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
|
@ -97,7 +97,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HUGO_VERSION: 0.125.4
|
HUGO_VERSION: 0.126.0
|
||||||
steps:
|
steps:
|
||||||
- name: Install Hugo CLI
|
- name: Install Hugo CLI
|
||||||
run: |
|
run: |
|
||||||
|
@ -27,8 +27,8 @@ Define your [CI/CD](https://docs.gitlab.com/ee/ci/quick_start/) jobs by creating
|
|||||||
|
|
||||||
{{< code file=.gitlab-ci.yml copy=true >}}
|
{{< code file=.gitlab-ci.yml copy=true >}}
|
||||||
variables:
|
variables:
|
||||||
DART_SASS_VERSION: 1.76.0
|
DART_SASS_VERSION: 1.77.1
|
||||||
HUGO_VERSION: 0.125.4
|
HUGO_VERSION: 0.126.0
|
||||||
NODE_VERSION: 20.x
|
NODE_VERSION: 20.x
|
||||||
GIT_DEPTH: 0
|
GIT_DEPTH: 0
|
||||||
GIT_STRATEGY: clone
|
GIT_STRATEGY: clone
|
||||||
|
@ -101,7 +101,7 @@ Create a new file named netlify.toml in the root of your project directory. In i
|
|||||||
|
|
||||||
{{< code file=netlify.toml >}}
|
{{< code file=netlify.toml >}}
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.125.4"
|
HUGO_VERSION = "0.126.0"
|
||||||
TZ = "America/Los_Angeles"
|
TZ = "America/Los_Angeles"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
@ -113,8 +113,8 @@ If your site requires Dart Sass to transpile Sass to CSS, the configuration file
|
|||||||
|
|
||||||
{{< code file=netlify.toml >}}
|
{{< code file=netlify.toml >}}
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.125.4"
|
HUGO_VERSION = "0.126.0"
|
||||||
DART_SASS_VERSION = "1.76.0"
|
DART_SASS_VERSION = "1.77.1"
|
||||||
TZ = "America/Los_Angeles"
|
TZ = "America/Los_Angeles"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
|
@ -136,8 +136,8 @@ To install Dart Sass for your builds on GitLab Pages, the `.gitlab-ci.yml` file
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
variables:
|
variables:
|
||||||
HUGO_VERSION: 0.125.4
|
HUGO_VERSION: 0.126.0
|
||||||
DART_SASS_VERSION: 1.76.0
|
DART_SASS_VERSION: 1.77.1
|
||||||
GIT_DEPTH: 0
|
GIT_DEPTH: 0
|
||||||
GIT_STRATEGY: clone
|
GIT_STRATEGY: clone
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
@ -171,7 +171,7 @@ To install Dart Sass for your builds on Netlify, the `netlify.toml` file should
|
|||||||
```toml
|
```toml
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.122.2"
|
HUGO_VERSION = "0.122.2"
|
||||||
DART_SASS_VERSION = "1.76.0"
|
DART_SASS_VERSION = "1.77.1"
|
||||||
TZ = "America/Los_Angeles"
|
TZ = "America/Los_Angeles"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user