fix: 修复Hugo版本兼容性问题

- 回滚footer.html,使用 .Err 语法(兼容0.128.2)
- 固定GitHub Actions的Hugo版本为0.128.2
- 确保本地和CI环境一致
This commit is contained in:
Vaica committed 2026-06-03 14:04:44 +08:00
1 parent 36f6622775
commit 6135b6dcd5
2 files changed
+35 -33

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ jobs:
if: steps.check.outputs.needs_update == 'true' || github.event.inputs.force_rebuild == 'true'
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
hugo-version: '0.128.2' # 固定版本,与本地一致
extended: true
- name: Build