⚙️ Prepare v3 release: module path, version window, 3.0.0

Bump the Hugo module path to /v3, adopt a rolling latest-4 Hugo
version window (bot keeps it sliding), document new opt-in params,
and set package version to 3.0.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Nuno CoraçãoandClaude Fable 5 authored and Nuno C. committed 2026-08-17 20:19:02 +01:00
1 parent e50adceca0
commit 0da79b9888
8 files changed
+20 -10

No files matched your search

+7 -1
View File
@@ -34,7 +34,13 @@ jobs:
if: steps.git-check.outputs.modified == 'true'
run: |
cat release-versions/hugo-latest.txt | \
while read version; do sed -i'' -E "s/(max = \")[0-9]+\.[0-9]+\.[0-9]+(\")/\1${version#v}\2/g" config.toml; done
while read version; do \
v="${version#v}"; \
minor="$(echo "$v" | cut -d. -f2)"; \
min_minor="$((minor - 3))"; \
sed -i'' -E "s/(max = \")[0-9]+\.[0-9]+\.[0-9]+(\")/\1${v}\2/g" config.toml; \
sed -i'' -E "s/(min = \")[0-9]+\.[0-9]+\.[0-9]+(\")/\10.${min_minor}.0\2/g" config.toml; \
done
- name: Create Pull Request
if: steps.git-check.outputs.modified == 'true'
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.102.3
HUGO_VERSION: 0.165.0
steps:
- name: Install Hugo CLI
run: |
+1 -1
View File
@@ -1,5 +1,5 @@
[module]
[module.hugoVersion]
extended = true
min = "0.158.0"
min = "0.162.0"
max = "0.165.0"
+6 -2
View File
@@ -26,6 +26,7 @@ disableTextInHeader = false
# backgroundImageWidth = 1200
# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images
# backgroundCanvas = false # render defaultBackgroundImage as a fixed backdrop on every page
# defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles
# defaultSocialImage = "/android-chrome-512x512.png" # used as default for social media sharing (Open Graph and Twitter)
hotlinkFeatureImage = false
@@ -53,7 +54,8 @@ forgejoDefaultServer = "https://v11.next.forgejo.org"
# metaDescriptionOrder = ["summary", "description", "site"] # Controls the fallback order for the HTML meta description. Valid values are "summary", "description", and "site".
[header]
layout = "basic" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
layout = "basic" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur, floating
# mobileMenuStyle = "fullscreen" # valid options: fullscreen, dropdown
[footer]
showMenu = true
@@ -63,7 +65,8 @@ forgejoDefaultServer = "https://v11.next.forgejo.org"
showScrollToTop = true
[homepage]
layout = "profile" # valid options: page, profile, hero, card, background, custom
layout = "profile" # valid options: page, profile, hero, card, background, landing, custom
# layoutSwitcher = false # opt-in interactive preview of the built-in layouts
#homepageImage = "IMAGE.jpg" # used in: hero, and card
showRecent = false
showRecentItems = 5
@@ -112,6 +115,7 @@ forgejoDefaultServer = "https://v11.next.forgejo.org"
[list]
showHero = false
# featureImageHover = false # subtle zoom on card thumbnails on hover
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
+1 -1
View File
@@ -1,3 +1,3 @@
module github.com/nunocoracao/blowfish/v2
module github.com/nunocoracao/blowfish/v3
go 1.16
+1 -1
View File
@@ -3,6 +3,6 @@
publish = "exampleSite/public"
[build.environment]
HUGO_VERSION = "0.159.1"
HUGO_VERSION = "0.165.0"
HUGO_THEMESDIR = "../.."
HUGO_THEME = "repo"
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "hugo-blowfish-theme",
"version": "2.106.0",
"version": "3.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "hugo-blowfish-theme",
"version": "2.106.0",
"version": "3.0.0",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hugo-blowfish-theme",
"version": "2.106.0",
"version": "3.0.0",
"description": "Blowfish theme for Hugo.",
"scripts": {
"postinstall": "vendor-copy",