Skip to content

Commit 9b84cae

Browse files
richarddushimeRichard Dushime
andauthored
fix:Hugo compatibility: replace deprecated template funcs and fix builds (#699)
* fix:compatibility * hugo version pinned to 0.158.0 --------- Co-authored-by: Richard Dushime <rdm@rdm.local>
1 parent 9750c8f commit 9b84cae

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

.devcontainer/dev/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"features": {
77
"ghcr.io/devcontainers/features/hugo:1": {
88
"extended": true,
9-
"version": "0.123.1"
9+
"version": "0.158.0"
1010
},
1111
"ghcr.io/devcontainers/features/node:1": {
1212
"nodeGypDependencies": true,

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
contents: read
2828
actions: read # Needed for artifact access
2929
env:
30-
HUGO_VERSION: "0.123.3"
30+
HUGO_VERSION: "0.158.0"
3131
HUGO_EXTENDED: true
3232
steps:
3333
# =======================

.github/workflows/staging-aggregate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ jobs:
221221
contents: read
222222
actions: read # Needed for artifact access
223223
env:
224-
HUGO_VERSION: "0.123.3"
224+
HUGO_VERSION: "0.158.0"
225225
HUGO_EXTENDED: true
226226
steps:
227227
- name: Checkout repository

config/_default/languages.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
# Configure the English version of the site.
66
[en]
7-
languageCode = "en-us"
7+
locale = "en-US"
88
# contentDir = "content/en" # Uncomment for multi-lingual sites, and move English content into `en` sub-folder.
99

1010
# Uncomment the lines below to configure your website in a second language.
1111
#[zh]
12-
# languageCode = "zh-Hans"
12+
# locale = "zh-Hans"
1313
# contentDir = "content/zh"
1414
# title = "Chinese website title..."
1515
# [zh.params]

netlify.toml.deprecated

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
publish = "public"
1111

1212
[build.environment]
13-
HUGO_VERSION = "0.92.2"
13+
HUGO_VERSION = "0.158.0"
1414
HUGO_ENABLEGITINFO = "true"
1515

1616
[context.production.environment]

themes/academic/netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[build.environment]
77
HUGO_THEME = "repo"
8-
HUGO_VERSION = "0.74.3"
8+
HUGO_VERSION = "0.158.0"
99
HUGO_ENABLEGITINFO = "true"
1010

1111
[context.production.environment]

0 commit comments

Comments
 (0)