mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
Update version references
This commit is contained in:
1 parent
66458cd1b1
commit
c5489c7098
9 files changed
+17
-17
No files matched your search
@@ -11,5 +11,5 @@ action:
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.120.3">
|
||||
{{ hugo.Generator }} → <meta name="generator" content="Hugo 0.122.0">
|
||||
```
|
||||
@@ -11,5 +11,5 @@ action:
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
{{ hugo.Version }} → 0.120.3
|
||||
{{ hugo.Version }} → 0.122.0
|
||||
```
|
||||
@@ -24,7 +24,7 @@ Let's say you need to publish a file named "site.json" in the root of your publi
|
||||
```json
|
||||
{
|
||||
"build_date": "2023-10-03T10:50:40-07:00",
|
||||
"hugo_version": "0.120.0",
|
||||
"hugo_version": "0.122.0",
|
||||
"last_modified": "2023-10-02T15:21:27-07:00"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -139,8 +139,8 @@ To install Dart Sass for your builds on GitLab Pages, the `.gitlab-ci.yml` file
|
||||
|
||||
```yaml
|
||||
variables:
|
||||
HUGO_VERSION: 0.121.0
|
||||
DART_SASS_VERSION: 1.69.5
|
||||
HUGO_VERSION: 0.122.0
|
||||
DART_SASS_VERSION: 1.70.0
|
||||
GIT_DEPTH: 0
|
||||
GIT_STRATEGY: clone
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
@@ -173,8 +173,8 @@ To install Dart Sass for your builds on Netlify, the `netlify.toml` file should
|
||||
|
||||
```toml
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.121.0"
|
||||
DART_SASS_VERSION = "1.69.5"
|
||||
HUGO_VERSION = "0.122.0"
|
||||
DART_SASS_VERSION = "1.70.0"
|
||||
TZ = "America/Los_Angeles"
|
||||
|
||||
[build]
|
||||
|
||||
@@ -23,7 +23,7 @@ hugo version
|
||||
You should see something like:
|
||||
|
||||
```text
|
||||
hugo v0.105.0-0e3b42b4a9bdeb4d866210819fc6ddcf51582ffa+extended linux/amd64 BuildDate=2022-10-28T12:29:05Z VendorInfo=snap:0.105.0
|
||||
hugo v0.122.0-b9a03bd59d5f71a529acb3e33f995e0ef332b3aa+extended linux/amd64 BuildDate=2024-01-26T15:54:24Z VendorInfo=gohugoio
|
||||
```
|
||||
|
||||
## Display available commands
|
||||
|
||||
@@ -99,7 +99,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HUGO_VERSION: 0.121.0
|
||||
HUGO_VERSION: 0.122.0
|
||||
steps:
|
||||
- name: Install Hugo CLI
|
||||
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 >}}
|
||||
variables:
|
||||
DART_SASS_VERSION: 1.69.5
|
||||
HUGO_VERSION: 0.121.0
|
||||
DART_SASS_VERSION: 1.70.0
|
||||
HUGO_VERSION: 0.122.0
|
||||
NODE_VERSION: 20.x
|
||||
GIT_DEPTH: 0
|
||||
GIT_STRATEGY: clone
|
||||
|
||||
@@ -57,14 +57,14 @@ For production:
|
||||
|
||||
{{< code file=netlify.toml >}}
|
||||
[context.production.environment]
|
||||
HUGO_VERSION = "0.121.0"
|
||||
HUGO_VERSION = "0.122.0"
|
||||
{{< /code >}}
|
||||
|
||||
For testing:
|
||||
|
||||
{{< code file=netlify.toml >}}
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_VERSION = "0.121.0"
|
||||
HUGO_VERSION = "0.122.0"
|
||||
{{< /code >}}
|
||||
|
||||
The Netlify configuration file can be a little hard to understand and get right for the different environment, and you may get some inspiration and tips from this site's `netlify.toml`:
|
||||
|
||||
@@ -136,8 +136,8 @@ To install Dart Sass for your builds on GitLab Pages, the `.gitlab-ci.yml` file
|
||||
|
||||
```yaml
|
||||
variables:
|
||||
HUGO_VERSION: 0.115.1
|
||||
DART_SASS_VERSION: 1.63.6
|
||||
HUGO_VERSION: 0.122.0
|
||||
DART_SASS_VERSION: 1.70.0
|
||||
GIT_DEPTH: 0
|
||||
GIT_STRATEGY: clone
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
@@ -170,8 +170,8 @@ To install Dart Sass for your builds on Netlify, the `netlify.toml` file should
|
||||
|
||||
```toml
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.115.1"
|
||||
DART_SASS_VERSION = "1.63.6"
|
||||
HUGO_VERSION = "0.122.2"
|
||||
DART_SASS_VERSION = "1.70.0"
|
||||
TZ = "America/Los_Angeles"
|
||||
|
||||
[build]
|
||||
|
||||
Reference in new issue
Block a user