Make the CSS assets and bundle the global CSS.
This commit is contained in:
parent
13a4561745
commit
5743d57d6d
@ -1,3 +1,8 @@
|
||||
<link rel="stylesheet" href="/icons.css">
|
||||
<link rel="stylesheet" href="/simplesystems.css">
|
||||
<link rel="stylesheet" href="/light-theme.css">
|
||||
{{ $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" }}
|
||||
|
||||
<link rel="stylesheet" href="{{ $css.RelPermalink }}" integrity="{{ $css.Data.Integrity }}">
|
||||
|
Loading…
Reference in New Issue
Block a user