From ac917c9beb343c06735d419a33466bda67e5dadb Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Wed, 8 Apr 2026 14:49:01 +0200 Subject: [PATCH] White space fix. --- layouts/_partials/head/styles.html | 60 +++++++++++++++--------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/layouts/_partials/head/styles.html b/layouts/_partials/head/styles.html index 3732993..00f0b78 100644 --- a/layouts/_partials/head/styles.html +++ b/layouts/_partials/head/styles.html @@ -1,38 +1,38 @@ {{ with resources.Get "css/styles.css" -}} - {{ $opts := dict - "loaders" (dict ".png" "dataurl" ".svg" "dataurl") - "minify" (cond hugo.IsDevelopment false true) - "sourceMap" (cond hugo.IsDevelopment "linked" "none") - -}} - {{ with . | css.Build $opts -}} - {{ if hugo.IsDevelopment -}} - - {{ else -}} - {{ with . | fingerprint -}} - - {{ end -}} - {{ end }} - {{ end -}} +{{ $opts := dict + "loaders" (dict ".png" "dataurl" ".svg" "dataurl") + "minify" (cond hugo.IsDevelopment false true) + "sourceMap" (cond hugo.IsDevelopment "linked" "none") +-}} +{{ with . | css.Build $opts -}} +{{ if hugo.IsDevelopment -}} + +{{ else -}} +{{ with . | fingerprint -}} + +{{ end -}} +{{ end -}} +{{ end -}} {{ end -}} {{ if $.Param "mobilemenu" -}} - {{ with resources.Get "css/mobilemenu.css" -}} - {{ if hugo.IsDevelopment -}} - - {{ else -}} - {{ with . | minify | fingerprint -}} - - {{ end -}} - {{ end -}} - {{ end -}} +{{ with resources.Get "css/mobilemenu.css" -}} +{{ if hugo.IsDevelopment -}} + +{{ else -}} +{{ with . | minify | fingerprint -}} + +{{ end -}} +{{ end -}} +{{ end -}} {{ end -}} {{ with resources.Get "css/print.css" -}} - {{ if hugo.IsDevelopment -}} - - {{ else -}} - {{ with . | minify | fingerprint -}} - - {{ end -}} - {{ end -}} +{{ if hugo.IsDevelopment -}} + +{{ else -}} +{{ with . | minify | fingerprint -}} + +{{ end -}} +{{ end -}} {{ end -}}