From 73af579254c756d91c5158b4d6decf8dfa737c9b Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 20 Mar 2026 00:18:15 +0100 Subject: [PATCH] =?UTF-8?q?Tentative=20d'am=C3=A9lioration=20du=20clignote?= =?UTF-8?q?ment=20au=20chargement=20de=20la=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_partials/head.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html index 5aff332..5fe620a 100644 --- a/layouts/_partials/head.html +++ b/layouts/_partials/head.html @@ -48,12 +48,9 @@ {{ range resources.Match "style/*.scss" }} {{ with . | toCSS }} - {{ if hugo.IsDevelopment }} - - {{ else -}} - {{ with . | minify | fingerprint }} + {{ with cond hugo.IsDevelopment . (. | minify | fingerprint) }} + - {{ end }} {{ end }} {{ end }} {{ end }}