From 59797a9c6fd32bf5ede9e056832bdfe124f95103 Mon Sep 17 00:00:00 2001 From: Splitter Date: Sat, 12 Oct 2024 17:55:37 +0000 Subject: [PATCH] starters: upgrade to support Hugo breaking changes --- .github/workflows/publish.yaml | 2 +- config/_default/hugo.yaml | 3 ++- go.mod | 2 +- hugoblox.yaml | 2 +- netlify.toml | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 7df6268..b376aa1 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,7 +1,7 @@ name: Deploy website to GitHub Pages env: - WC_HUGO_VERSION: '0.126.3' + WC_HUGO_VERSION: '0.135.0' on: # Trigger the workflow every time you push to the `main` branch diff --git a/config/_default/hugo.yaml b/config/_default/hugo.yaml index 058ab22..45c2dab 100644 --- a/config/_default/hugo.yaml +++ b/config/_default/hugo.yaml @@ -55,7 +55,8 @@ build: writeStats: true enableGitInfo: false summaryLength: 30 -paginate: 10 +pagination: + pagerSize: 10 enableEmoji: true enableRobotsTXT: true footnotereturnlinkcontents: ^ diff --git a/go.mod b/go.mod index 80d331c..ef809ac 100644 --- a/go.mod +++ b/go.mod @@ -4,5 +4,5 @@ go 1.15 require ( github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20240217212918-ae7f0c597978 - 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 ) diff --git a/hugoblox.yaml b/hugoblox.yaml index bf71f98..10c576e 100644 --- a/hugoblox.yaml +++ b/hugoblox.yaml @@ -1,2 +1,2 @@ build: - hugo_version: '0.126.3' + hugo_version: '0.135.0' diff --git a/netlify.toml b/netlify.toml index f4459b6..c7d92b7 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ publish = "public" [build.environment] - HUGO_VERSION = "0.126.3" + HUGO_VERSION = "0.135.0" HUGO_ENABLEGITINFO = "true" [context.production.environment]