diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-02-26 19:36:40 +0800 | 
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-02-26 19:36:40 +0800 | 
| commit | 5078921f9309ee1d78d528aa683c8eb982c571e1 (patch) | |
| tree | 996c21f5084e725bc765f87d2126528e0b499d39 /www/layouts/_default/baseof.html | |
| parent | 0874dd5d5652f7d710d98329ba111fd69e7d8fce (diff) | |
| download | crupest-5078921f9309ee1d78d528aa683c8eb982c571e1.tar.gz crupest-5078921f9309ee1d78d528aa683c8eb982c571e1.tar.bz2 crupest-5078921f9309ee1d78d528aa683c8eb982c571e1.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.html | 9 | 
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> | 
