diff --git a/static/icons.css b/assets/icons.css similarity index 100% rename from static/icons.css rename to assets/icons.css diff --git a/static/light-theme.css b/assets/light-theme.css similarity index 100% rename from static/light-theme.css rename to assets/light-theme.css diff --git a/static/simplesystems.css b/assets/simplesystems.css similarity index 100% rename from static/simplesystems.css rename to assets/simplesystems.css diff --git a/layouts/partials/css-global.html b/layouts/partials/css-global.html index 297f35a..00ab07d 100644 --- a/layouts/partials/css-global.html +++ b/layouts/partials/css-global.html @@ -1,3 +1,8 @@ - - - +{{ $sheets := slice }} +{{ range slice "icons.css" "simplesystems.css" "light-theme.css" }} + {{ $sheets = $sheets | append (resources.Get .) }} +{{ end }} + +{{ $css := $sheets | resources.Concat "/css/main.css" | resources.Fingerprint "sha512" }} + +