Compare commits

...

3 commits

Author SHA1 Message Date
George Cushen
2f0f3249cb 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
2024-10-12 18:55:17 +01:00
George Cushen
39f530db44 starters(bootstrap): upgrade to support Hugo 0.135.0 paginate deprecation
Addresses Hugo 0.135 breaking change:

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
2024-10-12 18:52:41 +01:00
George Cushen
661cadc173 feat: pull in latest analytics/seo modules
Closes #3143
2024-10-12 18:41:04 +01:00
43 changed files with 55 additions and 43 deletions

View file

@ -4,5 +4,5 @@ go 1.15
require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-core v0.3.1
github.com/HugoBlox/hugo-blox-builder/modules/blox-seo v0.2.2
github.com/HugoBlox/hugo-blox-builder/modules/blox-seo v0.2.3
)

View file

@ -24,7 +24,7 @@ sitemap:
changefreq: weekly
module:
hugoVersion:
min: '0.123.3'
min: '0.134.1'
extended: true
imports:
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-core

View file

@ -2,4 +2,4 @@ module github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind
go 1.19
require github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics v0.1.2
require github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics v0.1.3

View file

@ -58,7 +58,7 @@ sitemap:
changefreq: weekly
module:
hugoVersion:
min: '0.126.0'
min: '0.134.1'
extended: true
imports:
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics

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

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

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

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

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

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

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]