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
commit4bf9b57cca977760a89bda7b419a85ca471ba1ce (patch)
tree1a50b7716ec7369d2dfeaa885d8c055226bcf734 /www/layouts/partials
parentcfa5ea2f4a8fd79136cfe95ad1fdfe88d52eece8 (diff)
downloadcrupest-4bf9b57cca977760a89bda7b419a85ca471ba1ce.tar.gz
crupest-4bf9b57cca977760a89bda7b419a85ca471ba1ce.tar.bz2
crupest-4bf9b57cca977760a89bda7b419a85ca471ba1ce.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>