diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index edddf60..cb1c1d2 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -17,7 +17,7 @@ {{- /* CSS stylesheet */}} - {{- $stylesheet := (resources.Get "css/style.css") | resources.Minify }} + {{- $stylesheet := (resources.Match "css/*.css") | resources.Concat "css/style.css" | resources.Minify }} {{- if not site.Params.assets.disableFingerprinting }} {{- $stylesheet := $stylesheet | fingerprint }} @@ -41,16 +41,6 @@ - - {{- /* Bottom Javascript */}} - {{- $darkmode_load_script := (resources.Get "js/darkmode_load.js") | resources.Minify}} - {{- if not site.Params.assets.disableFingerprinting }} - {{- $darkmode_load_script := $darkmode_load_script | fingerprint }} - - {{ else }} - - {{ end }} -
{{- partial "header.html" . -}}
@@ -66,6 +56,15 @@ {{- partial "custom_footer.html" -}} + {{- /* Bottom Javascript */}} + {{- $darkmode_load_script := (resources.Get "js/darkmode_load.js") | resources.Minify}} + {{- if not site.Params.assets.disableFingerprinting }} + {{- $darkmode_load_script := $darkmode_load_script | fingerprint }} + + {{ else }} + + {{ end }} +