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]