fix: #50, change css load order

This commit is contained in:
Jacky Zhao 2022-02-15 16:52:32 -05:00
parent 687edcb902
commit dc9038792e

View File

@ -8,7 +8,7 @@
<!-- CSS Stylesheets and Fonts --> <!-- CSS Stylesheets and Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Source+Sans+Pro:wght@400;600;700&family=Fira+Code:wght@400;700&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Source+Sans+Pro:wght@400;600;700&family=Fira+Code:wght@400;700&display=swap" rel="stylesheet">
{{ $css := slice "custom.scss" "base.scss" "darkmode.scss" "syntax.scss"}} {{ $css := slice "base.scss" "darkmode.scss" "syntax.scss" "custom.scss"}}
{{range $css}} {{range $css}}
{{$sass := resources.Get . | resources.ToCSS }} {{$sass := resources.Get . | resources.ToCSS }}
{{with $sass | minify}} {{with $sass | minify}}