File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 -}}
Original file line number Diff line number Diff line change 4040 },
4141 "devDependencies" : {
4242 "cpy-cli" : " ^5.0.0" ,
43- "hugo-extended" : " ^0.140.2 " ,
44- "netlify-cli" : " ^18.0.0 " ,
45- "npm-check-updates" : " ^17.1.13 " ,
43+ "hugo-extended" : " ^0.141.0 " ,
44+ "netlify-cli" : " ^18.0.1 " ,
45+ "npm-check-updates" : " ^17.1.14 " ,
4646 "prettier" : " ^3.4.2"
4747 },
4848 "engines" : {
You can’t perform that action at this time.
0 commit comments