diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-03-03 23:29:38 +0800 | 
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-03-03 23:29:38 +0800 | 
| commit | 228811363d9f48f032a46d177869e378d10b17c7 (patch) | |
| tree | 09de8983011d1e4da3b0acc2d8f472af0ae5070f /www/layouts/_default | |
| parent | f4f4a347e3dd40974fe707fe833bf2f4df7d05c3 (diff) | |
| download | crupest-228811363d9f48f032a46d177869e378d10b17c7.tar.gz crupest-228811363d9f48f032a46d177869e378d10b17c7.tar.bz2 crupest-228811363d9f48f032a46d177869e378d10b17c7.zip | |
feat(www): hurd and todos.
Diffstat (limited to 'www/layouts/_default')
| -rw-r--r-- | www/layouts/_default/baseof.html | 7 | ||||
| -rw-r--r-- | www/layouts/_default/list.html | 2 | ||||
| -rw-r--r-- | www/layouts/_default/single.html | 2 | 
3 files changed, 7 insertions, 4 deletions
| 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 @@      <title>{{ block "title" . }}        {{ .Site.Title }}      {{ end }}</title> -    {{ 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 }}    </head>    <body>      <div id="slogan"> 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" }} | 
