From 41284ef7d53274da4ef8e52d383b47ff1c24abda Mon Sep 17 00:00:00 2001 From: June Date: Sun, 28 Jan 2024 20:14:06 +0100 Subject: [PATCH] Add empty main.scss and just load that to start with a blank slate --- themes/ccchh/assets/scss/main.scss | 0 themes/ccchh/layouts/partials/head.html | 8 ++------ 2 files changed, 2 insertions(+), 6 deletions(-) create mode 100644 themes/ccchh/assets/scss/main.scss diff --git a/themes/ccchh/assets/scss/main.scss b/themes/ccchh/assets/scss/main.scss new file mode 100644 index 0000000..e69de29 diff --git a/themes/ccchh/layouts/partials/head.html b/themes/ccchh/layouts/partials/head.html index 0cbca28..f60cbd4 100644 --- a/themes/ccchh/layouts/partials/head.html +++ b/themes/ccchh/layouts/partials/head.html @@ -1,14 +1,10 @@ -{{- $cssOptionsMain := dict "transpiler" "libsass" "targetPath" "css/style.css" -}} -{{- $cssOptionsPico := dict "transpiler" "libsass" "targetPath" "css/pico.css" -}} +{{- $cssOptions := dict "transpiler" "libsass" "targetPath" "css/style.css" -}} {{- $jsResources := resources.Match "js/*.js" }} {{- partial "robots.html" . -}} - {{ with resources.Get "pico-1.5.11/scss/pico.scss" | toCSS $cssOptionsPico | minify | fingerprint -}} - - {{- end }} - {{ with resources.Get "sass/main.scss" | toCSS $cssOptionsMain | minify | fingerprint -}} + {{ with resources.Get "scss/main.scss" | toCSS $cssOptions | minify | fingerprint -}} {{- end }}