summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-15 10:59:05 +0800
committerEltrac <hi@guhub.cn>2025-07-15 10:59:05 +0800
commit7f89e1b5cfc8d95c36e9addba3bf750b047f4ee7 (patch)
treec38e2e84bb027cae86a1665dc095845e760100c9 /layouts
parentc7f7a4acfbc43e44770cf5090c4c742f9ddf2159 (diff)
chore(unocss): set up unocss
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_partials/head/css.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_partials/head/css.html b/layouts/_partials/head/css.html
index b55dbe8d..423716ea 100644
--- a/layouts/_partials/head/css.html
+++ b/layouts/_partials/head/css.html
@@ -23,6 +23,10 @@
{{- end }}
<!-- theme css -->
+{{ with resources.Get "css/uno.css" | minify }}
+<style>{{ .Content | safeCSS }}</style>
+{{ end }}
+
{{ with resources.Get "css/global.scss" | css.Sass | minify }}
<style>{{ .Content | safeCSS }}</style>
{{ end }}