Skip to content

Commit 7efab9a

Browse files
committed
Update to Hugo v0.140.0
1 parent 224c4fc commit 7efab9a

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG VARIANT="20"
22

33
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}
44

5-
ARG HUGO_VERSION="0.127.0"
5+
ARG HUGO_VERSION="0.140.0"
66
ARG HUGO_ARCH="64bit"
77

88
RUN hugo_url="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}" \

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"dockerfile": "Dockerfile",
55
"args": {
66
"VARIANT": "20",
7-
"HUGO_VERSION": "0.127.0",
7+
"HUGO_VERSION": "0.140.0",
88
"HUGO_ARCH": "64bit"
99
}
1010
},

netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
publish = "public"
44

55
[build.environment]
6-
HUGO_VERSION = "0.127.0"
6+
HUGO_VERSION = "0.140.0"
77

88
[[headers]]
99
for = "/*"

themes/default/assets/css/fontawesome.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ $dev := site.IsServer }}
1+
{{ $dev := hugo.IsServer }}
22

33
{{ $lightIcon := resources.Get site.Params.theme.lightIcon | resources.Fingerprint }}
44
{{ $darkIcon := resources.Get site.Params.theme.darkIcon | resources.Fingerprint }}

themes/default/layouts/partials/assets.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ $dev := site.IsServer }}
1+
{{ $dev := hugo.IsServer }}
22

33
{{ $asset := resources.Get "img/favicon.svg" }}
44
{{ if not $dev }}

themes/default/layouts/partials/local-asset.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ $dev := site.IsServer }}
1+
{{ $dev := hugo.IsServer }}
22

33
{{ $asset := resources.Get . | resources.ExecuteAsTemplate (path.Base .) . }}
44
{{ if not $dev }}

themes/default/layouts/partials/remote-asset.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ $dev := site.IsServer }}
1+
{{ $dev := hugo.IsServer }}
22

33
{{ $url := . }}
44
{{ $asset := resources.GetRemote . }}

0 commit comments

Comments
 (0)