From 15d7a4aabdf71ac85d88dd08eda27e5306d853fe Mon Sep 17 00:00:00 2001
From: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
Date: Tue, 21 Jul 2020 14:20:35 +0530
Subject: assets: separate style.css into parts
---
layouts/partials/head.html | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
(limited to 'layouts')
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 55042bc..a660da3 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -13,7 +13,15 @@
{{- end }}
{{ $anoldhope := resources.Get "an-old-hope.min.css" | minify }}
-{{ $style := resources.Get "style.css" | minify }}
+{{ $theme := resources.Get "css/theme-vars.css" | minify }}
+{{ $reset := resources.Get "css/reset.css" | minify }}
+{{ $header := resources.Get "css/header.css" | minify }}
+{{ $main := resources.Get "css/main.css" | minify }}
+{{ $postentry := resources.Get "css/post-entry.css" | minify }}
+{{ $postsingle := resources.Get "css/post-single.css" | minify }}
+{{ $footer := resources.Get "css/footer.css" | minify }}
+{{ $404 := resources.Get "css/404.css" | minify }}
+{{ $style := slice $theme $reset $header $main $postentry $postsingle $footer $404 | resources.Concat "stylesheet.css" | minify }}
{{ $stylesheet := slice $anoldhope $style | resources.Concat "stylesheet.css" | minify | fingerprint }}
--
cgit v1.2.3