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 -}}