chore: update blog to work with latest versions of Hugo

This commit is contained in:
2025-02-13 18:22:31 +01:00
parent 20662dc99b
commit 6df64315d5
4 changed files with 13 additions and 10 deletions

View File

@@ -8,7 +8,7 @@
<meta name="author" content="{{ .Site.Params.author | default "John Doe" }}" />
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}" />
<meta name="fediverse:creator" content="@phundrak@mastodon.phundrak.com" />
{{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint -}}
{{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | css.Sass | resources.Minify | resources.Fingerprint -}}
<link rel="stylesheet" href="{{ $style.Permalink }}" />
{{ template "_internal/google_analytics.html" . }}