From 5078921f9309ee1d78d528aa683c8eb982c571e1 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Wed, 26 Feb 2025 19:36:40 +0800 Subject: fix(www): css load blink, code block bg, links. --- www/layouts/_default/baseof.html | 9 ++------- www/layouts/_default/single.html | 8 +++++++- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'www/layouts/_default') 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 @@ {{ block "title" . }} {{ .Site.Title }} {{ end }} - {{ with resources.Get "catppuccin-latte.css" | minify | fingerprint }} - - {{ end }} - {{ with resources.Get "catppuccin-mocha.css" | minify | fingerprint }} - - {{ end }} + {{ partial "js.html" "color-scheme.ts" }} + {{ partial "css-res.html" (partial "highlight.html" dict) }} {{ partial "css.html" "base-style.css" }} {{ block "head" . }} {{ end }} - {{ partial "js.html" "color-scheme.ts" }}
🙃The world is full of pain, but we can fix it with love!
diff --git a/www/layouts/_default/single.html b/www/layouts/_default/single.html index 83297cf..1f267eb 100644 --- a/www/layouts/_default/single.html +++ b/www/layouts/_default/single.html @@ -10,7 +10,13 @@ {{ partial "nav.html" . }}

{{ .Title }}


-

{{ partial "date.html" .Date }} Last updated: {{ partial "date.html" .Lastmod }}

+

+ {{ partial "date.html" .Date }} | + {{ .WordCount }} words + {{ if ne .Lastmod .Date }} + Last updated: {{ partial "date.html" .Lastmod }} + {{ end}} +

{{ .Content }}
{{ partial "nav.html" . }} -- cgit v1.2.3