From 0f3258f2db70dbae95440e374823dbda39ed2b46 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Wed, 24 Jun 2026 16:10:29 +0200 Subject: [PATCH] Remove whitespace in meta partial. --- layouts/_partials/meta.html | 43 ++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/layouts/_partials/meta.html b/layouts/_partials/meta.html index eeb8268..516c19a 100644 --- a/layouts/_partials/meta.html +++ b/layouts/_partials/meta.html @@ -1,27 +1,26 @@ - +{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} - {{ .Site.Title }}{{ end }} - - + + + -{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} - {{ .Site.Title }}{{ end }} - -{{ with resources.Get "scss/main.scss" }} - {{ $opts := dict - "enableSourceMap" (not hugo.IsProduction) - "outputStyle" (cond hugo.IsProduction "compressed" "expanded") - "targetPath" "css/main.css" - "transpiler" "dartsass" - }} - {{ with . | toCSS $opts }} - {{ if hugo.IsProduction }} - {{ with . | fingerprint "sha512" }} - - {{ end }} - {{ else }} - - {{ end }} - {{ end }} -{{ end }} +{{- with resources.Get "scss/main.scss" -}} + {{- $opts := dict + "enableSourceMap" (not hugo.IsProduction) + "outputStyle" (cond hugo.IsProduction "compressed" "expanded") + "targetPath" "css/main.css" + "transpiler" "dartsass" + -}} + {{- with . | toCSS $opts -}} + {{- if hugo.IsProduction -}} + {{- with . | fingerprint "sha512" -}} + + {{- end -}} + {{- else -}} + + {{- end -}} + {{- end -}} +{{- end -}}