Skip to content

Commit

Permalink
Merge pull request #1781 from fluxcd/fix-hugo-deprecation
Browse files Browse the repository at this point in the history
Fix Hugo 0.112.0 deprecation
  • Loading branch information
kingdonb authored Jan 24, 2024
2 parents 2d1d3b6 + 8dea7a6 commit d664d31
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ preview-build: gen-content prereqs ## Builds a preview build (for e.g. a pull re
branch-build: gen-content prereqs ## Builds a Git branch (for e.g. development branches).
hugo \
--baseURL $(DEPLOY_PRIME_URL) \
--environment branch \
--environment=branch \
--buildFuture \
--gc \
--minify \
Expand Down
9 changes: 5 additions & 4 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,11 @@ markup:

languages:
en:
languageName: English
languageCode: en
time_format_default: 2006-01-02
time_format_blog: 2006-01-02
params:
languageName: English
languageCode: en
time_format_default: 2006-01-02
time_format_blog: 2006-01-02

permalinks:
blog: /:section/:year/:month/:slug/
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[build.environment]
HUGO_VERSION = "0.121.2"
NODE_VERSION = "16"
NODE_VERSION = "18"
GO_VERSION = "1.18"

[context.production.environment]
Expand Down

0 comments on commit d664d31

Please sign in to comment.