diff --git a/themes/ccchh/layouts/partials/head.html b/themes/ccchh/layouts/partials/head.html index 7b8744b..0cbca28 100644 --- a/themes/ccchh/layouts/partials/head.html +++ b/themes/ccchh/layouts/partials/head.html @@ -1,13 +1,14 @@ -{{- $options := dict "transpiler" "libsass" "targetPath" "css/style.css" -}} +{{- $cssOptionsMain := dict "transpiler" "libsass" "targetPath" "css/style.css" -}} +{{- $cssOptionsPico := dict "transpiler" "libsass" "targetPath" "css/pico.css" -}} {{- $jsResources := resources.Match "js/*.js" }} {{- partial "robots.html" . -}} - {{- with resources.GetRemote "https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css" }} - - {{ end }} - {{ with resources.Get "sass/main.scss" | toCSS $options | minify | fingerprint -}} + {{ 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 -}} {{- end }}