Skip to content

Commit 57d02ea

Browse files
committed
Fix error when building user guide with latest hugo version 0.141.0
1 parent e6d9477 commit 57d02ea

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

layouts/partials/scripts/mermaid.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ $version := .Site.Params.mermaid.version | default "latest" -}}
22

33
{{ $cdnurl := printf "https://cdn.jsdelivr.net/npm/mermaid@%s/dist/mermaid.esm.min.mjs" $version -}}
4-
{{ with resources.GetRemote $cdnurl -}}
4+
{{ with try (resources.GetRemote $cdnurl) -}}
55
{{ with .Err -}}
66
{{ errorf "Could not retrieve mermaid script from CDN. Reason: %s." . -}}
77
{{ end -}}

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ publish = "userguide/public"
66
command = "npm run docs-install && npm run build:preview"
77

88
[build.environment]
9-
GO_VERSION = "1.22.5"
9+
GO_VERSION = "1.23.5"
1010
HUGO_THEME = "repo"
1111

1212
[context.production]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"devDependencies": {
4242
"cpy-cli": "^5.0.0",
43-
"hugo-extended": "^0.140.2",
43+
"hugo-extended": "^0.141.0",
4444
"netlify-cli": "^18.0.0",
4545
"npm-check-updates": "^17.1.13",
4646
"prettier": "^3.4.2"

0 commit comments

Comments
 (0)