summaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-09-07 02:06:21 +0800
committerReorx <novoreorx@gmail.com>2022-09-07 02:06:21 +0800
commit13a2c8742c3a34ef8d137b78e5209b3d4acb02cc (patch)
tree10887f8f458b20939fdf402a3979b73772d2ca71 /layouts/partials/head.html
parentcd0381f6d3b86adb02702f1848283d9f19b017b5 (diff)
WIP: newsletter section page and archives page can work
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 1889a85..3ced6b6 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -47,10 +47,11 @@
{{- /* order is important */}}
{{- $core := (slice $theme_vars $reset $common $commonHighlight $media) | resources.Concat "assets/css/core.css" }}
{{- $extended := (resources.Match "css/extended/*.css") | resources.Concat "assets/css/extended.css" }}
+{{- $extendedScss := (resources.Match "css/extended/*.scss") | resources.Concat "assets/css/extended.scss" | resources.ToCSS }}
{{- /* bundle all required css */}}
{{- /* Add extended css after theme style */ -}}
-{{- $stylesheet := (slice $core $extended) | resources.Concat "assets/css/stylesheet.css" | minify }}
+{{- $stylesheet := (slice $core $extended $extendedScss) | resources.Concat "assets/css/stylesheet.css" | minify }}
{{- if not site.Params.assets.disableFingerprinting }}
{{- $stylesheet := $stylesheet | fingerprint }}