From 228811363d9f48f032a46d177869e378d10b17c7 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Mon, 3 Mar 2025 23:29:38 +0800 Subject: feat(www): hurd and todos. --- www/layouts/_default/baseof.html | 7 +++++-- www/layouts/_default/list.html | 2 +- www/layouts/_default/single.html | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'www/layouts/_default') diff --git a/www/layouts/_default/baseof.html b/www/layouts/_default/baseof.html index 55954d3..621aea1 100644 --- a/www/layouts/_default/baseof.html +++ b/www/layouts/_default/baseof.html @@ -9,11 +9,14 @@ {{ block "title" . }} {{ .Site.Title }} {{ end }} - {{ partial "js.html" "color-scheme.ts" }} + {{ partial "js.html" "res/js/color-scheme.ts" }} {{ partial "css-res.html" (partial "highlight.html" dict) }} - {{ partial "css.html" "base-style.css" }} + {{ partial "css.html" "res/css/base.css" }} {{ block "head" . }} {{ end }} + {{ range .Params.css }} + {{ partial "css.html" (printf "res/css/%s.css" .) }} + {{ end }}
diff --git a/www/layouts/_default/list.html b/www/layouts/_default/list.html index ddc3942..c7c6cce 100644 --- a/www/layouts/_default/list.html +++ b/www/layouts/_default/list.html @@ -1,5 +1,5 @@ {{ define "head"}} - {{ partial "css.html" "partials/preview/article.css" }} + {{ partial "css.html" "res/css/article.css" }} {{ end }} {{ define "content" }} diff --git a/www/layouts/_default/single.html b/www/layouts/_default/single.html index 1f267eb..cd0e9c5 100644 --- a/www/layouts/_default/single.html +++ b/www/layouts/_default/single.html @@ -1,5 +1,5 @@ {{ define "head"}} - {{ partial "css.html" "single.css" }} + {{ partial "css.html" "res/css/single.css" }} {{ end }} {{ define "title" }} -- cgit v1.2.3