starters: upgrade to support Hugo breaking changes

This commit is contained in:
Splitter
2024-10-12 17:55:37 +00:00
parent 3329bfc281
commit 739ece0b54
5 changed files with 6 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
name: Deploy website to GitHub Pages name: Deploy website to GitHub Pages
env: env:
WC_HUGO_VERSION: '0.126.3' WC_HUGO_VERSION: '0.135.0'
on: on:
# Trigger the workflow every time you push to the `main` branch # Trigger the workflow every time you push to the `main` branch

View File

@@ -25,7 +25,8 @@ build:
writeStats: true writeStats: true
enableGitInfo: false enableGitInfo: false
summaryLength: 30 summaryLength: 30
paginate: 10 pagination:
pagerSize: 10
enableEmoji: true enableEmoji: true
enableRobotsTXT: true enableRobotsTXT: true
footnotereturnlinkcontents: <sup>^</sup> footnotereturnlinkcontents: <sup>^</sup>

2
go.mod
View File

@@ -4,5 +4,5 @@ go 1.19
require ( require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231209203044-d31adfedd40b github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231209203044-d31adfedd40b
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33 github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20241012174104-661cadc17327
) )

View File

@@ -1,2 +1,2 @@
build: build:
hugo_version: '0.126.3' hugo_version: '0.135.0'

View File

@@ -3,7 +3,7 @@
publish = "public" publish = "public"
[build.environment] [build.environment]
HUGO_VERSION = "0.126.3" HUGO_VERSION = "0.135.0"
HUGO_ENABLEGITINFO = "true" HUGO_ENABLEGITINFO = "true"
[context.production.environment] [context.production.environment]