starters: upgrade to support Hugo breaking changes

Tested with Hugo v0.135.0

Addresses recent breaking changes in Hugo:

ERROR deprecated: .Site.GoogleAnalytics was deprecated.

WARN  deprecated: site config key paginate was deprecated in Hugo v0.128.0 and will be removed in a future release. Use pagination.pagerSize instead
This commit is contained in:
George Cushen 2024-10-12 18:55:17 +01:00
commit 2f0f3249cb
34 changed files with 41 additions and 34 deletions

View file

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

View file

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

View file

@ -3,7 +3,7 @@ module github.com/wowchemy/starter-hugo-research-group
go 1.15
require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.8-0.20240513193311-41bd113535e8
github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.8-0.20241012174104-661cadc17327
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-decap-cms v0.1.2-0.20231108143325-448ed0e3bd2b
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20240509231741-c3d23d929bc6
)

View file

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

View file

@ -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

View file

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

View file

@ -4,5 +4,5 @@ go 1.19
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-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:
hugo_version: '0.126.3'
hugo_version: '0.135.0'

View file

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

View file

@ -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

View file

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

View file

@ -4,5 +4,5 @@ go 1.19
require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231125204555-f431a4a2c705
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:
hugo_version: '0.126.3'
hugo_version: '0.135.0'

View file

@ -3,7 +3,7 @@
publish = "public"
[build.environment]
HUGO_VERSION = "0.126.3"
HUGO_VERSION = "0.135.0"
GO_VERSION = "1.21.5"
NODE_VERSION = "21.1.0"
HUGO_ENABLEGITINFO = "true"

View file

@ -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

View file

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

View file

@ -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
)

View file

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

View file

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

View file

@ -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

View file

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

View file

@ -4,5 +4,5 @@ go 1.19
require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
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:
hugo_version: '0.126.3'
hugo_version: '0.135.0'

View file

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

View file

@ -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

View file

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

View file

@ -4,5 +4,5 @@ go 1.19
require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
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:
hugo_version: '0.126.3'
hugo_version: '0.135.0'

View file

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

View file

@ -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

View file

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

View file

@ -4,5 +4,5 @@ go 1.19
require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231125200520-804c70f7efb8
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:
hugo_version: '0.126.3'
hugo_version: '0.135.0'

View file

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