diff --git a/assets/css/extended/blank.css b/assets/css/extended/blank.css new file mode 100644 index 00000000..e69de29b diff --git a/layouts/partials/head.html b/layouts/partials/head.html index baaf732f..4a4d4665 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -21,7 +21,12 @@ {{- end}} -{{- $stylesheet := (resources.Match "css/*.css") | resources.Concat "assets/css/stylesheet.css" | minify -}} +{{- $common := (resources.Match "css/*.css") | resources.Concat "assets/css/common.css" }} +{{- $extended := (resources.Match "css/extended/*.css") | resources.Concat "assets/css/extended.css" }} +{{- /* bundle all required css */}} +{{- /* Add extended css after theme style */ -}} +{{- $stylesheet := (slice $common $extended) | resources.Concat "assets/css/stylesheet.css" | minify }} + {{- if not .Site.Params.assets.disableFingerprinting }} {{- $stylesheet := $stylesheet | fingerprint -}}