mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 07:18:57 +00:00
chore: bump minimum Hugo version to 0.161.0 for hugo:vars support
The hugo:vars feature (used for SCSS variable configuration via [params.appearance]) requires Hugo v0.161.0+. See https://gohugo.io/functions/css/sass/#vars
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"args": {
|
||||
"HUGO_VERSION": "0.158.0",
|
||||
"HUGO_VERSION": "0.161.0",
|
||||
"DART_SASS_VERSION": "1.99.0",
|
||||
"GO_VERSION": "1.24.4"
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ FixIt is a modern, responsive theme for the Hugo static site generator. Built wi
|
||||
### Prerequisites
|
||||
|
||||
- Node.js >= 20
|
||||
- Hugo Extended >= 0.158.0 (Dart Sass required)
|
||||
- Hugo Extended >= 0.161.0 (Dart Sass required)
|
||||
- pnpm
|
||||
|
||||
### Development
|
||||
|
||||
+1
-1
@@ -6,7 +6,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:
|
||||
|
||||
- **Hugo Extended** (>= 0.158.0) - The static site generator
|
||||
- **Hugo Extended** (>= 0.161.0) - The static site generator
|
||||
- **Dart Sass** - Required for SCSS compilation
|
||||
- **Node.js** (>= 22) - Required for package management and build tools
|
||||
- **pnpm** - Package manager
|
||||
|
||||
@@ -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)
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
@@ -171,7 +171,7 @@ weight = 80
|
||||
|
||||
[module.hugoVersion]
|
||||
extended = true
|
||||
min = "0.158.0"
|
||||
min = "0.161.0"
|
||||
|
||||
# -------------------------------------------------------------------------------------
|
||||
# Markup Configuration
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{{- $devOpts := .Site.Store.Get "devOpts" -}}
|
||||
|
||||
{{- /* Check Hugo version */ -}}
|
||||
{{- $MINIMAL_HUGO_VERSION := "0.158.0" -}}
|
||||
{{- $MINIMAL_HUGO_VERSION := "0.161.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 -}}
|
||||
|
||||
+1
-1
@@ -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.158.0"
|
||||
min_version = "0.161.0"
|
||||
tags = [
|
||||
"blog",
|
||||
"clean",
|
||||
|
||||
Reference in New Issue
Block a user