From 673be1e8c01db483635139947aa851fd0f575b05 Mon Sep 17 00:00:00 2001
From: Cell <1024@lruihao.cn>
Date: Tue, 7 Apr 2026 14:48:20 +0800
Subject: [PATCH] chore: update minimum Hugo version to 0.158.0 across
documentation and configuration files
---
.github/copilot-instructions.md | 4 +-
CONTRIBUTING.md | 2 +-
README.md | 2 +-
README.zh-cn.md | 2 +-
hugo.toml | 2 +-
layouts/_partials/feed/rss.html | 2 +-
layouts/_partials/init/detection-version.html | 2 +-
layouts/_partials/layout/comment.html | 6 +-
layouts/_partials/layout/head.html | 4 +-
layouts/baseof.html | 2 +-
layouts/sitemap.xml | 4 +-
package.json | 5 +-
pnpm-lock.yaml | 107 ++++++++++++++++++
theme.toml | 2 +-
14 files changed, 127 insertions(+), 19 deletions(-)
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md
index df814902..e8fe3d6c 100644
--- a/.github/copilot-instructions.md
+++ b/.github/copilot-instructions.md
@@ -6,7 +6,7 @@
FixIt 是一个面向 Hugo 静态网站生成器的现代化、响应式主题。项目基于以下技术栈:
-- **Hugo**: 静态网站生成器(≥ 0.156.0)
+- **Hugo**: 静态网站生成器(≥ 0.158.0)
- **SCSS**: CSS 预处理器,用于样式开发
- **JavaScript**: ES6+ 标准,用于前端交互功能
- **Go Templates**: Hugo 模板引擎
@@ -210,7 +210,7 @@ class FixIt {
1. **前置要求**:
- Node.js (≥ 20.0.0)
- - Hugo Extended (≥ 0.156.0)
+ - Hugo Extended (≥ 0.158.0)
- pnpm (包管理器)
2. **开发命令**:
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 42d909db..ccd87657 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -7,7 +7,7 @@ Make sure that you follow [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) while contrib
Before you start contributing, make sure you have the following tools installed:
- **Node.js** (>= 20.0.0) - Required for package management and build tools
-- **Hugo Extended** (>= 0.156.0) - The static site generator
+- **Hugo Extended** (>= 0.158.0) - The static site generator
- **pnpm** - Package manager (recommended)
You can check your installed versions:
diff --git a/README.md b/README.md
index ed93e1aa..6a406fcb 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@
[](https://demo.fixit.lruihao.cn/)
[](https://github.com/hugo-fixit/FixIt/releases)
-[](https://gohugo.io/)
+[](https://gohugo.io/)
[](/LICENSE)
[](https://github.com/hugo-fixit/FixIt)
[](https://gitee.com/lruihao/FixIt/stargazers)
diff --git a/README.zh-cn.md b/README.zh-cn.md
index 8a157985..1e3bbf89 100644
--- a/README.zh-cn.md
+++ b/README.zh-cn.md
@@ -26,7 +26,7 @@
[](https://demo.fixit.lruihao.cn/)
[](https://github.com/hugo-fixit/FixIt/releases)
-[](https://gohugo.io/)
+[](https://gohugo.io/)
[](/LICENSE)
[](https://github.com/hugo-fixit/FixIt)
[](https://gitee.com/lruihao/FixIt/stargazers)
diff --git a/hugo.toml b/hugo.toml
index 82b4012a..b097968f 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -171,7 +171,7 @@ weight = 80
[module.hugoVersion]
extended = true
-min = "0.156.0"
+min = "0.158.0"
# -------------------------------------------------------------------------------------
# Markup Configuration
diff --git a/layouts/_partials/feed/rss.html b/layouts/_partials/feed/rss.html
index 3a3de18f..3f3f34f9 100644
--- a/layouts/_partials/feed/rss.html
+++ b/layouts/_partials/feed/rss.html
@@ -20,7 +20,7 @@
{{- end }}
Hugo {{ hugo.Version }} & FixIt {{ hugo.Store.Get "version" }}
- {{ .Site.Language.LanguageCode }}{{ with .Site.Params.author.email }}
+ {{ .Site.Language.Locale }}{{ with .Site.Params.author.email }}
{{.}}{{ with $.Site.Params.author.name }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Params.author.email }}
{{ . }}{{ with $.Site.Params.author.name }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }}
{{ . }}{{ end }}{{ if not .Date.IsZero }}
diff --git a/layouts/_partials/init/detection-version.html b/layouts/_partials/init/detection-version.html
index 705cbb99..cfcbb58d 100644
--- a/layouts/_partials/init/detection-version.html
+++ b/layouts/_partials/init/detection-version.html
@@ -3,7 +3,7 @@
{{- $devOpts := .Site.Store.Get "devOpts" -}}
{{- /* Check Hugo version */ -}}
-{{- $MINIMAL_HUGO_VERSION := "0.156.0" -}}
+{{- $MINIMAL_HUGO_VERSION := "0.158.0" -}}
{{- if lt hugo.Version $MINIMAL_HUGO_VERSION -}}
{{- errorf "\n\n%v\n\n" (dict "Current" hugo.Version "Minimal" $MINIMAL_HUGO_VERSION | T "init.hugoVersionError") -}}
{{- end -}}
diff --git a/layouts/_partials/layout/comment.html b/layouts/_partials/layout/comment.html
index 84b2b2c6..9ac30b52 100644
--- a/layouts/_partials/layout/comment.html
+++ b/layouts/_partials/layout/comment.html
@@ -20,10 +20,10 @@
{{- $source := $cdn.artalkJS | default (add $artalk.server "/dist/Artalk.js") -}}
{{- dict "Source" $source "Fingerprint" $fingerprint | dict "Page" . "Data" | partial "store/script.html" -}}
{{- $commentConfig = dict "el" "#artalk" "pageKey" .Permalink "pageTitle" .Title "pvEl" "artalk-visitor-count" "countEl" "artalk-comment-count" | dict "artalk" | merge $commentConfig -}}
- {{- if (eq $artalk.locale "") | and (eq $.Site.LanguageCode "en") -}}
+ {{- if (eq $artalk.locale "") | and (eq $.Site.Language.Locale "en") -}}
{{- $artalk = dict "locale" "en-US" | merge $artalk -}}
{{- end -}}
- {{- $commentConfig = dict "locale" ($artalk.locale | default $.Site.LanguageCode | default "auto") | dict "artalk" | merge $commentConfig -}}
+ {{- $commentConfig = dict "locale" ($artalk.locale | default $.Site.Language.Locale | default "auto") | dict "artalk" | merge $commentConfig -}}
{{- if eq $artalk.usebackendconf false -}}
{{- $commentConfig = dict "useBackendConf" false | dict "artalk" | merge $commentConfig -}}
{{- end -}}
@@ -318,7 +318,7 @@
data-reactions-enabled="{{ .ReactionsEnabled }}"
data-emit-metadata="{{ .EmitMetadata }}"
data-input-position="{{ .InputPosition }}"
- data-lang="{{ .lang | default $.Site.LanguageCode }}"
+ data-lang="{{ .lang | default $.Site.Language.Locale }}"
{{ if ne .LazyLoad false }}data-loading="lazy"{{ end }}
crossorigin="anonymous"
async
diff --git a/layouts/_partials/layout/head.html b/layouts/_partials/layout/head.html
index bac33a8d..4175bb25 100644
--- a/layouts/_partials/layout/head.html
+++ b/layouts/_partials/layout/head.html
@@ -170,7 +170,7 @@
"@context": "http://schema.org",
"@type": "WebSite",
"url": "{{ .Permalink }}",
- {{- with .Site.LanguageCode -}}
+ {{- with .Site.Language.Locale -}}
"inLanguage": "{{ . }}",
{{- end -}}
{{- with .Site.Params.author.name -}}
@@ -224,7 +224,7 @@
"@context": "http://schema.org",
"@type": "BlogPosting",
"headline": {{ .Title | safeHTML }},
- "inLanguage": "{{ .Site.LanguageCode }}",
+ "inLanguage": "{{ .Site.Language.Locale }}",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ .Permalink }}"
diff --git a/layouts/baseof.html b/layouts/baseof.html
index 993eeeaa..6f1777c0 100644
--- a/layouts/baseof.html
+++ b/layouts/baseof.html
@@ -1,7 +1,7 @@
{{- partial "init/index.html" . -}}
-
+
{{- if .IsHome | and (ne .Site.Params.disableThemeInject true) }}
diff --git a/layouts/sitemap.xml b/layouts/sitemap.xml
index d4ca5953..01a9fc39 100644
--- a/layouts/sitemap.xml
+++ b/layouts/sitemap.xml
@@ -6,7 +6,7 @@
{{ safeHTML (.Lastmod.Format "2006-01-02T15:04:05-07:00") }}{{ end }}{{ with .Sitemap.ChangeFreq }}
{{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
{{ .Sitemap.Priority }}{{ end }}{{ if .IsTranslated }}{{ range .Translations }}
- {{ end }}
- {{ end }}
+ {{ end }}
+ {{ end }}
{{ end }}{{ end }}
diff --git a/package.json b/package.json
index 27f4e8ac..7041c00d 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"type": "module",
"version": "0.4.5",
"private": true,
- "packageManager": "pnpm@10.32.1",
+ "packageManager": "pnpm@10.33.0",
"description": "Hugo FixIt core theme component source files",
"author": {
"name": "Lruihao",
@@ -33,7 +33,7 @@
"dev:docs": "hugo server --source=../fixit-docs -D --disableFastRender --navigateToChanged --ignoreCache -O",
"build:demo": "pnpm -F demo build",
"build:test": "pnpm -F test build",
- "build": "pnpm build:demo && pnpm build:test && pnpm -F integration start",
+ "build": "concurrently 'pnpm build:demo' 'pnpm build:test' && pnpm -F integration start",
"preview": "serve public",
"lint": "eslint --cache .",
"version": "pnpm -F versioning start prod",
@@ -45,6 +45,7 @@
"@antfu/eslint-config": "^7.7.3",
"@types/node": "^25.5.0",
"auto-changelog-plus": "^1.2.3",
+ "concurrently": "^9.2.1",
"eslint": "^10.0.3",
"lint-staged": "^16.4.0",
"serve": "^14.2.6",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 10ad5de4..c5d99874 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -17,6 +17,9 @@ importers:
auto-changelog-plus:
specifier: ^1.2.3
version: 1.2.3
+ concurrently:
+ specifier: ^9.2.1
+ version: 9.2.1
eslint:
specifier: ^10.0.3
version: 10.0.3
@@ -767,6 +770,10 @@ packages:
resolution: {integrity: sha512-Su+uU5sr1jkUy1sGRpLKjKrvEOVXgSgiSInwa/qeID6aJ07yh+5NWc3h2QfjHjBnfX4LhtFcuAWKUsJ3r+fjbg==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
+ cliui@8.0.1:
+ resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==}
+ engines: {node: '>=12'}
+
color-convert@2.0.1:
resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
engines: {node: '>=7.0.0'}
@@ -800,6 +807,11 @@ packages:
concat-map@0.0.1:
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
+ concurrently@9.2.1:
+ resolution: {integrity: sha512-fsfrO0MxV64Znoy8/l1vVIjjHa29SZyyqPgQBwhiDcaW8wJc2W3XWVOGx4M3oJBnv/zdUZIIp1gDeS98GzP8Ng==}
+ engines: {node: '>=18'}
+ hasBin: true
+
confbox@0.1.8:
resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==}
@@ -1181,6 +1193,10 @@ packages:
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
os: [darwin]
+ get-caller-file@2.0.5:
+ resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==}
+ engines: {node: 6.* || 8.* || >= 10.*}
+
get-east-asian-width@1.5.0:
resolution: {integrity: sha512-CQ+bEO+Tva/qlmw24dCejulK5pMzVnUOFOijVogd3KQs07HnRIgp8TGipvCCRT06xeYEbpbgwaCxglFyiuIcmA==}
engines: {node: '>=18'}
@@ -1709,6 +1725,10 @@ packages:
resolution: {integrity: sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q==}
hasBin: true
+ require-directory@2.1.1:
+ resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}
+ engines: {node: '>=0.10.0'}
+
require-from-string@2.0.2:
resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
engines: {node: '>=0.10.0'}
@@ -1731,6 +1751,9 @@ packages:
rfdc@1.4.1:
resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==}
+ rxjs@7.8.2:
+ resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==}
+
safe-buffer@5.2.1:
resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
@@ -1764,6 +1787,10 @@ packages:
resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
engines: {node: '>=8'}
+ shell-quote@1.8.3:
+ resolution: {integrity: sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==}
+ engines: {node: '>= 0.4'}
+
signal-exit@3.0.7:
resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
@@ -1843,6 +1870,10 @@ packages:
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
engines: {node: '>=8'}
+ supports-color@8.1.1:
+ resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==}
+ engines: {node: '>=10'}
+
synckit@0.11.12:
resolution: {integrity: sha512-Bh7QjT8/SuKUIfObSXNHNSK6WHo6J1tHCqJsuaFDP7gP0fkzSfTxI8y85JrppZ0h8l0maIgc2tfuZQ6/t3GtnQ==}
engines: {node: ^14.18.0 || >=16.0.0}
@@ -1874,6 +1905,10 @@ packages:
tr46@0.0.3:
resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
+ tree-kill@1.2.2:
+ resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}
+ hasBin: true
+
ts-api-utils@2.4.0:
resolution: {integrity: sha512-3TaVTaAv2gTiMB35i3FiGJaRfwb3Pyn/j3m/bfAvGe8FB7CF6u+LMYqYlDh7reQf7UNvoTvdfAqHGmPGOSsPmA==}
engines: {node: '>=18.12'}
@@ -1885,6 +1920,9 @@ packages:
peerDependencies:
typescript: '>=4.0.0'
+ tslib@2.8.1:
+ resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
+
tsx@4.21.0:
resolution: {integrity: sha512-5C1sg4USs1lfG0GFb2RLXsdpXqBSEhAaA/0kPL01wxzpMqLILNxIxIOKiILz+cdg/pLnOUxFYOR5yhHU666wbw==}
engines: {node: '>=18.0.0'}
@@ -1977,6 +2015,10 @@ packages:
wordwrap@1.0.0:
resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==}
+ wrap-ansi@7.0.0:
+ resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
+ engines: {node: '>=10'}
+
wrap-ansi@8.1.0:
resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}
engines: {node: '>=12'}
@@ -1989,6 +2031,10 @@ packages:
resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==}
engines: {node: '>=12'}
+ y18n@5.0.8:
+ resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==}
+ engines: {node: '>=10'}
+
yaml-eslint-parser@2.0.0:
resolution: {integrity: sha512-h0uDm97wvT2bokfwwTmY6kJ1hp6YDFL0nRHwNKz8s/VD1FH/vvZjAKoMUE+un0eaYBSG7/c6h+lJTP+31tjgTw==}
engines: {node: ^20.19.0 || ^22.13.0 || >=24}
@@ -1998,6 +2044,14 @@ packages:
engines: {node: '>= 14.6'}
hasBin: true
+ yargs-parser@21.1.1:
+ resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}
+ engines: {node: '>=12'}
+
+ yargs@17.7.2:
+ resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==}
+ engines: {node: '>=12'}
+
yocto-queue@0.1.0:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
@@ -2683,6 +2737,12 @@ snapshots:
execa: 5.1.1
is-wsl: 2.2.0
+ cliui@8.0.1:
+ dependencies:
+ string-width: 4.2.3
+ strip-ansi: 6.0.1
+ wrap-ansi: 7.0.0
+
color-convert@2.0.1:
dependencies:
color-name: 1.1.4
@@ -2715,6 +2775,15 @@ snapshots:
concat-map@0.0.1: {}
+ concurrently@9.2.1:
+ dependencies:
+ chalk: 4.1.2
+ rxjs: 7.8.2
+ shell-quote: 1.8.3
+ supports-color: 8.1.1
+ tree-kill: 1.2.2
+ yargs: 17.7.2
+
confbox@0.1.8: {}
confbox@0.2.4: {}
@@ -3165,6 +3234,8 @@ snapshots:
fsevents@2.3.3:
optional: true
+ get-caller-file@2.0.5: {}
+
get-east-asian-width@1.5.0: {}
get-stream@6.0.1: {}
@@ -3828,6 +3899,8 @@ snapshots:
dependencies:
jsesc: 3.1.0
+ require-directory@2.1.1: {}
+
require-from-string@2.0.2: {}
reserved-identifiers@1.2.0: {}
@@ -3843,6 +3916,10 @@ snapshots:
rfdc@1.4.1: {}
+ rxjs@7.8.2:
+ dependencies:
+ tslib: 2.8.1
+
safe-buffer@5.2.1: {}
scslre@0.3.0:
@@ -3887,6 +3964,8 @@ snapshots:
shebang-regex@3.0.0: {}
+ shell-quote@1.8.3: {}
+
signal-exit@3.0.7: {}
signal-exit@4.1.0: {}
@@ -3956,6 +4035,10 @@ snapshots:
dependencies:
has-flag: 4.0.0
+ supports-color@8.1.1:
+ dependencies:
+ has-flag: 4.0.0
+
synckit@0.11.12:
dependencies:
'@pkgr/core': 0.2.9
@@ -3982,6 +4065,8 @@ snapshots:
tr46@0.0.3: {}
+ tree-kill@1.2.2: {}
+
ts-api-utils@2.4.0(typescript@5.9.3):
dependencies:
typescript: 5.9.3
@@ -3991,6 +4076,8 @@ snapshots:
picomatch: 4.0.3
typescript: 5.9.3
+ tslib@2.8.1: {}
+
tsx@4.21.0:
dependencies:
esbuild: 0.27.2
@@ -4084,6 +4171,12 @@ snapshots:
wordwrap@1.0.0: {}
+ wrap-ansi@7.0.0:
+ dependencies:
+ ansi-styles: 4.3.0
+ string-width: 4.2.3
+ strip-ansi: 6.0.1
+
wrap-ansi@8.1.0:
dependencies:
ansi-styles: 6.2.3
@@ -4098,6 +4191,8 @@ snapshots:
xml-name-validator@4.0.0: {}
+ y18n@5.0.8: {}
+
yaml-eslint-parser@2.0.0:
dependencies:
eslint-visitor-keys: 5.0.1
@@ -4105,6 +4200,18 @@ snapshots:
yaml@2.8.2: {}
+ yargs-parser@21.1.1: {}
+
+ yargs@17.7.2:
+ dependencies:
+ cliui: 8.0.1
+ escalade: 3.2.0
+ get-caller-file: 2.0.5
+ require-directory: 2.1.1
+ string-width: 4.2.3
+ y18n: 5.0.8
+ yargs-parser: 21.1.1
+
yocto-queue@0.1.0: {}
zwitch@2.0.4: {}
diff --git a/theme.toml b/theme.toml
index 00a8afee..04a26404 100644
--- a/theme.toml
+++ b/theme.toml
@@ -7,7 +7,7 @@ licenselink = "https://github.com/hugo-fixit/FixIt/blob/main/LICENSE"
description = "A Clean, Elegant but Advanced Hugo Theme for Hugo."
homepage = "https://github.com/hugo-fixit/FixIt"
demosite = "https://fixit.lruihao.cn"
-min_version = "0.156.0"
+min_version = "0.158.0"
tags = [
"blog",
"clean",