aboutsummaryrefslogtreecommitdiff
path: root/www/layouts/partials/nav.html
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-24 02:18:20 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-26 02:21:41 +0800
commit0874dd5d5652f7d710d98329ba111fd69e7d8fce (patch)
treed07e51b0f743d796d8e680530d2d2811565dac2b /www/layouts/partials/nav.html
parent46e66fefdf1affe6062ab498a28d766ef0e5d0c3 (diff)
downloadcrupest-0874dd5d5652f7d710d98329ba111fd69e7d8fce.tar.gz
crupest-0874dd5d5652f7d710d98329ba111fd69e7d8fce.tar.bz2
crupest-0874dd5d5652f7d710d98329ba111fd69e7d8fce.zip
feat(www): YEAH!
Diffstat (limited to 'www/layouts/partials/nav.html')
-rw-r--r--www/layouts/partials/nav.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/layouts/partials/nav.html b/www/layouts/partials/nav.html
new file mode 100644
index 0000000..42c9ad1
--- /dev/null
+++ b/www/layouts/partials/nav.html
@@ -0,0 +1,6 @@
+<nav class="mono">
+ {{ range .Ancestors.Reverse }}
+ <a class="mono-link" href="{{ .RelPermalink }}">{{ lower .Title }}</a> >
+ {{ end }}
+ this
+</nav>