summaryrefslogtreecommitdiff
path: root/layouts/partials/head/css.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-02-03 19:57:05 +0800
committerEltrac <hi@guhub.cn>2025-02-03 19:57:05 +0800
commit621eeb328dbf8b9b440039e536b97f83fb87b7ea (patch)
tree61011a07fd2f0908d45d9876f16c6ed86b69cb7e /layouts/partials/head/css.html
parent6267dd43a2910c8ae7257baaba5eacbf569518ab (diff)
fix(theme): lift priority of custom theme css
Diffstat (limited to 'layouts/partials/head/css.html')
-rw-r--r--layouts/partials/head/css.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/partials/head/css.html b/layouts/partials/head/css.html
index 9061dde0..bdb2c351 100644
--- a/layouts/partials/head/css.html
+++ b/layouts/partials/head/css.html
@@ -1,11 +1,3 @@
-<!-- theme css -->
-{{ with resources.Get "css/flexbox.css" | minify }}
-<style>{{ .Content | safeCSS }}</style>
-{{ end }}
-{{ with resources.Get "css/index.scss" | css.Sass | minify }}
-<style>{{ .Content | safeCSS }}</style>
-{{ end }}
-
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -16,3 +8,11 @@
{{ range .Site.Params.extraCSSFiles -}}
<link rel="stylesheet" href="{{ $.Site.Params.staticPrefix }}{{ . | relURL }}">
{{- end }}
+
+<!-- theme css -->
+{{ with resources.Get "css/flexbox.css" | minify }}
+<style>{{ .Content | safeCSS }}</style>
+{{ end }}
+{{ with resources.Get "css/index.scss" | css.Sass | minify }}
+<style>{{ .Content | safeCSS }}</style>
+{{ end }}