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:
Cell
2026-06-22 03:28:16 +08:00
parent 17d7bc1781
commit b7db52eb7e
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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"
}
+1 -1
View File
@@ -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
View File
@@ -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
+1 -1
View File
@@ -26,7 +26,7 @@
[![Build](https://img.shields.io/github/deployments/hugo-fixit/FixIt/Production?style=flat&label=Build&logo=vercel)](https://demo.fixit.lruihao.cn/)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/hugo-fixit/FixIt?style=flat&label=Release&logo=github&include_prereleases)](https://github.com/hugo-fixit/FixIt/releases)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.158.0-ff4088?style=flat&logo=hugo)](https://gohugo.io/)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.161.0-ff4088?style=flat&logo=hugo)](https://gohugo.io/)
[![License](https://img.shields.io/github/license/hugo-fixit/FixIt?style=flat&label=License)](/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/hugo-fixit/FixIt?style=social)](https://github.com/hugo-fixit/FixIt)
[![Gitee star of FixIt](https://gitee.com/lruihao/FixIt/badge/star.svg)](https://gitee.com/lruihao/FixIt/stargazers)
+1 -1
View File
@@ -26,7 +26,7 @@
[![Build](https://img.shields.io/github/deployments/hugo-fixit/FixIt/Production?style=flat&label=Build&logo=vercel)](https://demo.fixit.lruihao.cn/)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/hugo-fixit/FixIt?style=flat&label=Release&logo=github&include_prereleases)](https://github.com/hugo-fixit/FixIt/releases)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.158.0-ff4088?style=flat&logo=hugo)](https://gohugo.io/)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.161.0-ff4088?style=flat&logo=hugo)](https://gohugo.io/)
[![License](https://img.shields.io/github/license/hugo-fixit/FixIt?style=flat&label=License)](/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/hugo-fixit/FixIt?style=social)](https://github.com/hugo-fixit/FixIt)
[![Gitee star of FixIt](https://gitee.com/lruihao/FixIt/badge/star.svg)](https://gitee.com/lruihao/FixIt/stargazers)
+1 -1
View File
@@ -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
View File
@@ -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",