aboutsummaryrefslogtreecommitdiff
path: root/www/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-26 19:36:40 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-26 19:36:40 +0800
commit8c7102cbfe81c97a17f079ce42938f81e0f8a6f8 (patch)
treef42f553c4c8a559d616cf5a1b521c4ca0568037a /www/layouts/_default/baseof.html
parent046c71c4c282b7c9dce781c8a1f31c68a1515854 (diff)
downloadcrupest-8c7102cbfe81c97a17f079ce42938f81e0f8a6f8.tar.gz
crupest-8c7102cbfe81c97a17f079ce42938f81e0f8a6f8.tar.bz2
crupest-8c7102cbfe81c97a17f079ce42938f81e0f8a6f8.zip
fix(www): css load blink, code block bg, links.
Diffstat (limited to 'www/layouts/_default/baseof.html')
-rw-r--r--www/layouts/_default/baseof.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/www/layouts/_default/baseof.html b/www/layouts/_default/baseof.html
index defa6ac..55954d3 100644
--- a/www/layouts/_default/baseof.html
+++ b/www/layouts/_default/baseof.html
@@ -9,18 +9,13 @@
<title>{{ block "title" . }}
{{ .Site.Title }}
{{ end }}</title>
- {{ with resources.Get "catppuccin-latte.css" | minify | fingerprint }}
- <style>{{ printf `@import url(%s);` .RelPermalink | safeCSS }}</style>
- {{ end }}
- {{ with resources.Get "catppuccin-mocha.css" | minify | fingerprint }}
- <style>{{ printf `@import url(%s) (prefers-color-scheme: dark);` .RelPermalink | safeCSS }}</style>
- {{ end }}
+ {{ partial "js.html" "color-scheme.ts" }}
+ {{ partial "css-res.html" (partial "highlight.html" dict) }}
{{ partial "css.html" "base-style.css" }}
{{ block "head" . }}
{{ end }}
</head>
<body>
- {{ partial "js.html" "color-scheme.ts" }}
<div id="slogan">
<span>🙃The world is full of pain, but we can fix it with love!</span>
</div>