Skip to content

Commit

Permalink
starters: upgrade to support Hugo breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Splitter committed Oct 12, 2024
1 parent 09d74c5 commit ab8d493
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion config/_default/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ build:
writeStats: true
enableGitInfo: false
summaryLength: 30
paginate: 10
pagination:
pagerSize: 10
enableEmoji: true
enableRobotsTXT: true
footnotereturnlinkcontents: <sup>^</sup>
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
2 changes: 1 addition & 1 deletion hugoblox.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
build:
hugo_version: '0.126.3'
hugo_version: '0.135.0'
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
publish = "public"

[build.environment]
HUGO_VERSION = "0.126.3"
HUGO_VERSION = "0.135.0"
HUGO_ENABLEGITINFO = "true"

[context.production.environment]
Expand Down

0 comments on commit ab8d493

Please sign in to comment.