From eaae21b3096e033540ce20e8533ec1da578b577f Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 19 Mar 2026 23:53:37 +0100 Subject: [PATCH] =?UTF-8?q?D=C3=A9placement,=20renommage=20de=20style.scss?= =?UTF-8?q?,=20simplification=20de=20l'inclusion=20du=20style.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/{style.scss => style/main.scss} | 0 layouts/_partials/head.html | 6 ++---- 2 files changed, 2 insertions(+), 4 deletions(-) rename assets/{style.scss => style/main.scss} (100%) diff --git a/assets/style.scss b/assets/style/main.scss similarity index 100% rename from assets/style.scss rename to assets/style/main.scss diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html index 113325a..c8ced54 100644 --- a/layouts/_partials/head.html +++ b/layouts/_partials/head.html @@ -4,10 +4,8 @@ {{ end }} -{{ range resources.Match "*.scss" }} - {{ $targetPath := path.Join "css" (printf "%s.css" (path.BaseName .Name)) }} - {{ $opts := dict "transpiler" "libsass" "targetPath" $targetPath }} - {{ with . | toCSS $opts }} +{{ range resources.Match "style/*.scss" }} + {{ with . | toCSS }} {{ if hugo.IsDevelopment }} {{ else -}}