fix: Hugo 0.170.0 changes, SASS and Hugo deprecation warning
Website build and deploy / build (pull_request) Successful in 1m3s
Website build and deploy / build (pull_request) Successful in 1m3s
This commit is contained in:
6 files changed
+85
-24
No files matched your search
+4
-3
@@ -1,5 +1,5 @@
|
||||
baseurl = "https://mehl.mx/"
|
||||
languageCode = "en-GB"
|
||||
locale = "en-GB"
|
||||
title = "Max Mehl"
|
||||
theme = [ "hugo-sustain", "hugo-cloak-email", "hugo-mastodon-comments", "hugo-snap-gallery" ]
|
||||
summaryLength = 50
|
||||
@@ -84,6 +84,7 @@ summaryLength = 50
|
||||
source = "static/img/"
|
||||
target = "assets/images/"
|
||||
|
||||
[imaging]
|
||||
compression = 'lossy'
|
||||
[imaging.jpeg]
|
||||
quality = 90
|
||||
[imaging.webp]
|
||||
quality = 90
|
||||
@@ -2,40 +2,99 @@
|
||||
|
||||
lockfile_version = 3
|
||||
|
||||
[[tools.hugo-extended]]
|
||||
[[tools."github:sass/dart-sass"]]
|
||||
version = "1.108.2"
|
||||
backend = "github:sass/dart-sass"
|
||||
specifiers = ["1"]
|
||||
|
||||
[tools."github:sass/dart-sass"."platforms.linux-arm64"]
|
||||
checksum = "sha256:1c7a587c81467e8f7551d71e5d62845b53270033c5cc3d36aa8fa07330a5d2a9"
|
||||
url = "https://github.com/sass/dart-sass/releases/download/1.108.2/dart-sass-1.108.2-linux-arm64.tar.gz"
|
||||
url_api = "https://api.github.com/repos/sass/dart-sass/releases/assets/733743006"
|
||||
provenance = "github-attestations"
|
||||
|
||||
[tools."github:sass/dart-sass"."platforms.linux-arm64-musl"]
|
||||
checksum = "sha256:4931bc8b31dcbf0dbf28ad5e390c275625b430ac8d8c006bbcd6fe58c8a3248b"
|
||||
url = "https://github.com/sass/dart-sass/releases/download/1.108.2/dart-sass-1.108.2-linux-arm64-musl.tar.gz"
|
||||
url_api = "https://api.github.com/repos/sass/dart-sass/releases/assets/733743010"
|
||||
provenance = "github-attestations"
|
||||
|
||||
[tools."github:sass/dart-sass"."platforms.linux-x64"]
|
||||
checksum = "sha256:32d2eb5b83cbc180fce9657ff3c57401a9006c59eccfe0bfdde0aa755a66d42f"
|
||||
url = "https://github.com/sass/dart-sass/releases/download/1.108.2/dart-sass-1.108.2-linux-x64.tar.gz"
|
||||
url_api = "https://api.github.com/repos/sass/dart-sass/releases/assets/733743060"
|
||||
provenance = "github-attestations"
|
||||
|
||||
[tools."github:sass/dart-sass"."platforms.linux-x64-musl"]
|
||||
checksum = "sha256:a5519557dac62fbe468428d0025043e0cf4344bda2f7f6e3c3cb2fccc1f37b62"
|
||||
url = "https://github.com/sass/dart-sass/releases/download/1.108.2/dart-sass-1.108.2-linux-x64-musl.tar.gz"
|
||||
url_api = "https://api.github.com/repos/sass/dart-sass/releases/assets/733743054"
|
||||
provenance = "github-attestations"
|
||||
|
||||
[tools."github:sass/dart-sass"."platforms.macos-arm64"]
|
||||
checksum = "sha256:95b1bbb13f0b38ba8aacefae45ef23f11271231d24fb57b1593c9e2adf65481c"
|
||||
url = "https://github.com/sass/dart-sass/releases/download/1.108.2/dart-sass-1.108.2-macos-arm64.tar.gz"
|
||||
url_api = "https://api.github.com/repos/sass/dart-sass/releases/assets/733743056"
|
||||
provenance = "github-attestations"
|
||||
|
||||
[tools."github:sass/dart-sass"."platforms.macos-x64"]
|
||||
checksum = "sha256:8822d1f3715d84126a6adfe7053559a64e69687bb6e1b5da0d7f854b0c6ba2fa"
|
||||
url = "https://github.com/sass/dart-sass/releases/download/1.108.2/dart-sass-1.108.2-macos-x64.tar.gz"
|
||||
url_api = "https://api.github.com/repos/sass/dart-sass/releases/assets/733743078"
|
||||
provenance = "github-attestations"
|
||||
|
||||
[tools."github:sass/dart-sass"."platforms.windows-x64"]
|
||||
checksum = "sha256:8c9f35ac5a82090b36df59d3f411fe4403ce04332dff5abbfc633c91b5e3fe13"
|
||||
url = "https://github.com/sass/dart-sass/releases/download/1.108.2/dart-sass-1.108.2-windows-x64.zip"
|
||||
url_api = "https://api.github.com/repos/sass/dart-sass/releases/assets/733743082"
|
||||
provenance = "github-attestations"
|
||||
|
||||
[[tools.hugo]]
|
||||
version = "0.170.0"
|
||||
backend = "aqua:gohugoio/hugo/hugo-extended"
|
||||
backend = "aqua:gohugoio/hugo"
|
||||
specifiers = ["0.170.0"]
|
||||
|
||||
[tools.hugo-extended."platforms.linux-arm64"]
|
||||
[tools.hugo."platforms.linux-arm64"]
|
||||
checksum = "sha256:4ec3acd12ac17dbffb34fa453d3630dc0926a2314c8cd4964a550cfa9a4dbc73"
|
||||
checksum_source = "mise-versions"
|
||||
url = "https://github.com/gohugoio/hugo/releases/download/v0.170.0/hugo_extended_0.170.0_linux-arm64.tar.gz"
|
||||
url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/744015893"
|
||||
url = "https://github.com/gohugoio/hugo/releases/download/v0.170.0/hugo_0.170.0_linux-arm64.tar.gz"
|
||||
url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/744015900"
|
||||
|
||||
[tools.hugo-extended."platforms.linux-arm64-musl"]
|
||||
[tools.hugo."platforms.linux-arm64-musl"]
|
||||
checksum = "sha256:4ec3acd12ac17dbffb34fa453d3630dc0926a2314c8cd4964a550cfa9a4dbc73"
|
||||
checksum_source = "mise-versions"
|
||||
url = "https://github.com/gohugoio/hugo/releases/download/v0.170.0/hugo_extended_0.170.0_linux-arm64.tar.gz"
|
||||
url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/744015893"
|
||||
url = "https://github.com/gohugoio/hugo/releases/download/v0.170.0/hugo_0.170.0_linux-arm64.tar.gz"
|
||||
url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/744015900"
|
||||
|
||||
[tools.hugo-extended."platforms.linux-x64"]
|
||||
[tools.hugo."platforms.linux-x64"]
|
||||
checksum = "sha256:0930754ec22ad2dd1a252f8c31a5e57faccc9d15f1c3d381ddafcb96eeb8aef0"
|
||||
checksum_source = "mise-versions"
|
||||
url = "https://github.com/gohugoio/hugo/releases/download/v0.170.0/hugo_extended_0.170.0_linux-amd64.tar.gz"
|
||||
url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/744015909"
|
||||
url = "https://github.com/gohugoio/hugo/releases/download/v0.170.0/hugo_0.170.0_linux-amd64.tar.gz"
|
||||
url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/744015902"
|
||||
|
||||
[tools.hugo-extended."platforms.linux-x64-musl"]
|
||||
[tools.hugo."platforms.linux-x64-musl"]
|
||||
checksum = "sha256:0930754ec22ad2dd1a252f8c31a5e57faccc9d15f1c3d381ddafcb96eeb8aef0"
|
||||
checksum_source = "mise-versions"
|
||||
url = "https://github.com/gohugoio/hugo/releases/download/v0.170.0/hugo_extended_0.170.0_linux-amd64.tar.gz"
|
||||
url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/744015909"
|
||||
url = "https://github.com/gohugoio/hugo/releases/download/v0.170.0/hugo_0.170.0_linux-amd64.tar.gz"
|
||||
url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/744015902"
|
||||
|
||||
[tools.hugo-extended."platforms.windows-x64"]
|
||||
[tools.hugo."platforms.macos-arm64"]
|
||||
checksum = "sha256:b9dfc437df19dfd44720caf2e0ba7f9ca5c2e61164f2f4c53456f74d6fa28d22"
|
||||
checksum_source = "mise-versions"
|
||||
url = "https://github.com/gohugoio/hugo/releases/download/v0.170.0/hugo_0.170.0_darwin-universal.pkg"
|
||||
url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/744016098"
|
||||
|
||||
[tools.hugo."platforms.macos-x64"]
|
||||
checksum = "sha256:b9dfc437df19dfd44720caf2e0ba7f9ca5c2e61164f2f4c53456f74d6fa28d22"
|
||||
checksum_source = "mise-versions"
|
||||
url = "https://github.com/gohugoio/hugo/releases/download/v0.170.0/hugo_0.170.0_darwin-universal.pkg"
|
||||
url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/744016098"
|
||||
|
||||
[tools.hugo."platforms.windows-x64"]
|
||||
checksum = "sha256:56c2bc95f3fc0b6be060f0a4a23a0287fb3954c6595f6f170b49330366083df5"
|
||||
checksum_source = "mise-versions"
|
||||
url = "https://github.com/gohugoio/hugo/releases/download/v0.170.0/hugo_extended_0.170.0_windows-amd64.zip"
|
||||
url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/744016114"
|
||||
url = "https://github.com/gohugoio/hugo/releases/download/v0.170.0/hugo_0.170.0_windows-amd64.zip"
|
||||
url_api = "https://api.github.com/repos/gohugoio/hugo/releases/assets/744016110"
|
||||
|
||||
[[tools.lychee]]
|
||||
version = "0.24.2"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
[tools]
|
||||
hugo-extended = "0.170.0"
|
||||
hugo = "0.170.0"
|
||||
lychee = "0.24.2"
|
||||
"github:sass/dart-sass" = "1"
|
||||
|
||||
[vars]
|
||||
build_dir = "public"
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||
<generator>Hugo</generator>
|
||||
<language>{{ site.Language.LanguageCode }}</language>
|
||||
<language>{{ site.Language.Locale }}</language>
|
||||
{{- with $authorEmail }}
|
||||
<managingEditor>{{.}}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor>
|
||||
{{- end }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<html lang="{{ site.Language.Locale }}">
|
||||
<head>
|
||||
<!-- set variables -->
|
||||
{{- $title := "" -}}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{{- end }}
|
||||
|
||||
<!-- Theme stylesheet, combination of all in assets/scss -->
|
||||
{{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "enableSourceMap" false) }}
|
||||
{{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "scss/main.scss" . | toCSS (dict "targetPath" "css/main.css" "enableSourceMap" false "silenceDeprecations" (slice "import")) }}
|
||||
<link rel="stylesheet" href="{{ ($style).RelPermalink }}?v={{ md5 $style.Content }}">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
|
||||
Reference in new issue
Block a user