From 8a29c2d11ad86241fe1e4cc5bea4d3c999d49560 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Tue, 24 Oct 2023 08:56:29 +0200 Subject: [PATCH] Move SCSS file to layout folder --- {assets => themes/tsc_vfl/assets/css}/main.scss | 0 themes/tsc_vfl/layouts/partials/page/head.html | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {assets => themes/tsc_vfl/assets/css}/main.scss (100%) diff --git a/assets/main.scss b/themes/tsc_vfl/assets/css/main.scss similarity index 100% rename from assets/main.scss rename to themes/tsc_vfl/assets/css/main.scss diff --git a/themes/tsc_vfl/layouts/partials/page/head.html b/themes/tsc_vfl/layouts/partials/page/head.html index 2fd1473b..69edb1d3 100644 --- a/themes/tsc_vfl/layouts/partials/page/head.html +++ b/themes/tsc_vfl/layouts/partials/page/head.html @@ -2,7 +2,7 @@ {{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction)) }} - {{ $scss := resources.Get "main.scss" | resources.ToCSS $options }} + {{ $scss := resources.Get "css/main.scss" | resources.ToCSS $options }} {{ $title := print .Site.Title " | " .Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}