更新Hugo版本至0.147.9,调整相关配置文件

This commit is contained in:
何夕2077
2025-10-09 03:41:13 +00:00
parent 32c0972c71
commit a56d0da957
5 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
"features": { "features": {
"ghcr.io/devcontainers/features/hugo:1": { "ghcr.io/devcontainers/features/hugo:1": {
"extended": true, "extended": true,
"version": "0.147.7" "version": "0.147.9"
}, },
"ghcr.io/devcontainers/features/node:1": {} "ghcr.io/devcontainers/features/node:1": {}
}, },

View File

@@ -41,7 +41,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
HUGO_VERSION: 0.147.7 HUGO_VERSION: 0.147.9
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4

2
go.mod
View File

@@ -2,4 +2,4 @@ module github.com/imfing/hextra-starter-template
go 1.21 go 1.21
require github.com/imfing/hextra v0.9.7 // indirect require github.com/imfing/hextra v0.11.1 // indirect

4
go.sum
View File

@@ -1,2 +1,2 @@
github.com/imfing/hextra v0.9.7 h1:Zg5n24us36Bn/S/5mEUPkRW6uwE6vHHEqWSgN0bPXaM= github.com/imfing/hextra v0.11.1 h1:8pTc4ReYbzGTHAnyiebmlT3ijFfIXiGu1r7tM/UGjFI=
github.com/imfing/hextra v0.9.7/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI= github.com/imfing/hextra v0.11.1/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI=

View File

@@ -3,7 +3,7 @@ publish = "public"
command = "hugo --gc --minify -b ${URL}" command = "hugo --gc --minify -b ${URL}"
[build.environment] [build.environment]
HUGO_VERSION = "0.147.7" HUGO_VERSION = "0.147.9"
[[redirects]] [[redirects]]