aboutsummaryrefslogtreecommitdiff
path: root/www/layouts/partials
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-03-03 23:29:38 +0800
committerYuqian Yang <crupest@crupest.life>2025-03-03 23:29:38 +0800
commit228811363d9f48f032a46d177869e378d10b17c7 (patch)
tree09de8983011d1e4da3b0acc2d8f472af0ae5070f /www/layouts/partials
parentf4f4a347e3dd40974fe707fe833bf2f4df7d05c3 (diff)
downloadcrupest-228811363d9f48f032a46d177869e378d10b17c7.tar.gz
crupest-228811363d9f48f032a46d177869e378d10b17c7.tar.bz2
crupest-228811363d9f48f032a46d177869e378d10b17c7.zip
feat(www): hurd and todos.
Diffstat (limited to 'www/layouts/partials')
-rw-r--r--www/layouts/partials/highlight.html6
-rw-r--r--www/layouts/partials/nav.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/www/layouts/partials/highlight.html b/www/layouts/partials/highlight.html
index 06ab047..28c510e 100644
--- a/www/layouts/partials/highlight.html
+++ b/www/layouts/partials/highlight.html
@@ -1,6 +1,6 @@
-{{ $light := resources.Get "catppuccin-latte.css" }}
-{{ $dark := resources.Get "catppuccin-mocha.css" }}
+{{ $light := resources.Get "res/css/catppuccin-latte.css" }}
+{{ $dark := resources.Get "res/css/catppuccin-mocha.css" }}
{{ $dark_wrapper_before := resources.FromString "highlight-dark-wapper-before.css" `html[data-theme="dark"] {`}}}
{{ $dark_wrapper_after := resources.FromString "highlight-dark-wapper-after.css" "}"}}
-{{ $highlight := slice $light $dark_wrapper_before $dark $dark_wrapper_after | resources.Concat "highlight.css" }}
+{{ $highlight := slice $light $dark_wrapper_before $dark $dark_wrapper_after | resources.Concat "res/css/highlight.css" }}
{{ return $highlight }}
diff --git a/www/layouts/partials/nav.html b/www/layouts/partials/nav.html
index 42c9ad1..4ecf622 100644
--- a/www/layouts/partials/nav.html
+++ b/www/layouts/partials/nav.html
@@ -2,5 +2,5 @@
{{ range .Ancestors.Reverse }}
<a class="mono-link" href="{{ .RelPermalink }}">{{ lower .Title }}</a> >
{{ end }}
- this
+ this: {{.Title}}
</nav>