1
0
Fork 0
mirror of https://github.com/dillonzq/LoveIt.git synced 2025-04-27 06:06:20 +02:00

docs: update hugo version

This commit is contained in:
Dillon 2025-02-22 22:17:33 +08:00
parent c0601c7c07
commit 4c909c548c
4 changed files with 22 additions and 3 deletions
.circleci
exampleSite/content/posts/theme-documentation-basics
netlify.toml

View file

@ -34,4 +34,4 @@ workflows:
version: 0.128.0
- build-check:
name: build-check-max
version: 0.144.0
version: 0.144.2

View file

@ -74,7 +74,7 @@ git submodule add https://github.com/dillonzq/LoveIt.git themes/LoveIt
| LoveIt branch or version | Supported Hugo versions |
|:-------------------------|:-----------------------:|
| master(Unstable) | ≥ 0.128.0 |
| **0.3.X(Recommended)** | 0.128.0 - 0.144.0 |
| **0.3.X(Recommended)** | 0.128.0 - 0.144.2 |
| 0.2.X(Outdated) | 0.68.0 - 0.127.0 |
{{< /admonition >}}

View file

@ -74,7 +74,7 @@ git submodule add https://github.com/dillonzq/LoveIt.git themes/LoveIt
| 分支或版本 | 支持的 Hugo 版本 |
|:--------------|:-----------------:|
| master(不稳定) | ≥ 0.128.0 |
| **0.3.X(推荐)** | 0.128.0 - 0.144.0 |
| **0.3.X(推荐)** | 0.128.0 - 0.144.2 |
| 0.2.X(过时) | 0.68.0 - 0.127.0 |
{{< /admonition >}}

19
netlify.toml Normal file
View file

@ -0,0 +1,19 @@
[build]
base = "exampleSite"
publish = "public"
[build.environment]
HUGO_VERSION = "0.144.2"
HUGO_ENABLEGITINFO = "true"
[context.production]
command = "hugo --theme repo --themesDir ../.. --baseURL ${URL} --gc --minify"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --theme repo --themesDir ../.. --baseURL $DEPLOY_PRIME_URL --gc --minify --buildDrafts"
[context.branch-deploy]
command = "hugo --theme repo --themesDir ../.. --baseURL $DEPLOY_PRIME_URL --gc --minify"