Skip to content

Commit

Permalink
Update to Hugo v0.140.0
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Dec 30, 2024
1 parent 224c4fc commit 7efab9a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG VARIANT="20"

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

ARG HUGO_VERSION="0.127.0"
ARG HUGO_VERSION="0.140.0"
ARG HUGO_ARCH="64bit"

RUN hugo_url="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}" \
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "20",
"HUGO_VERSION": "0.127.0",
"HUGO_VERSION": "0.140.0",
"HUGO_ARCH": "64bit"
}
},
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
publish = "public"

[build.environment]
HUGO_VERSION = "0.127.0"
HUGO_VERSION = "0.140.0"

[[headers]]
for = "/*"
Expand Down
2 changes: 1 addition & 1 deletion themes/default/assets/css/fontawesome.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $dev := site.IsServer }}
{{ $dev := hugo.IsServer }}

{{ $lightIcon := resources.Get site.Params.theme.lightIcon | resources.Fingerprint }}
{{ $darkIcon := resources.Get site.Params.theme.darkIcon | resources.Fingerprint }}
Expand Down
2 changes: 1 addition & 1 deletion themes/default/layouts/partials/assets.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $dev := site.IsServer }}
{{ $dev := hugo.IsServer }}

{{ $asset := resources.Get "img/favicon.svg" }}
{{ if not $dev }}
Expand Down
2 changes: 1 addition & 1 deletion themes/default/layouts/partials/local-asset.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $dev := site.IsServer }}
{{ $dev := hugo.IsServer }}

{{ $asset := resources.Get . | resources.ExecuteAsTemplate (path.Base .) . }}
{{ if not $dev }}
Expand Down
2 changes: 1 addition & 1 deletion themes/default/layouts/partials/remote-asset.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $dev := site.IsServer }}
{{ $dev := hugo.IsServer }}

{{ $url := . }}
{{ $asset := resources.GetRemote . }}
Expand Down

0 comments on commit 7efab9a

Please sign in to comment.