Make the CSS assets and bundle the global CSS.
This commit is contained in:
		@@ -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 }}">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user