diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a3e99750..0d7c0b3f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -16,26 +16,9 @@ {{- end}} -{{- $anoldhope := resources.Get "css/an-old-hope.min.css" }} -{{- $theme := resources.Get "css/theme-vars.css" }} -{{- $reset := resources.Get "css/reset.css" }} -{{- $header := resources.Get "css/header.css" }} -{{- $main := resources.Get "css/main.css" }} -{{- $postentry := resources.Get "css/post-entry.css" }} -{{- $postsingle := resources.Get "css/post-single.css" }} -{{- $terms := resources.Get "css/terms.css" }} -{{- $archive := resources.Get "css/archive.css" }} -{{- $footer := resources.Get "css/footer.css" }} -{{- $404 := resources.Get "css/404.css" }} -{{- $style := slice $theme $reset $header $main $postentry $postsingle $terms $archive $footer $404 | resources.Concat "stylesheet.css" }} -{{- $stylesheet := slice $anoldhope $style | resources.Concat "assets/css/stylesheet.css" | minify | fingerprint -}} +{{- $stylesheet := (resources.Match "css/*.css") | resources.Concat "assets/css/stylesheet.css" | minify | fingerprint -}} -{{- if (and (.Site.Params.profileMode.enabled) (.IsHome)) }} -{{- $profileMode := slice (resources.Get "css/profile-mode.css") | resources.Concat "assets/css/profile-mode.css" | minify | fingerprint }} - -{{- end -}}