feat: highlight current page

This commit is contained in:
2026-06-22 20:20:41 +00:00
parent 1123acbd56
commit 66b9cdb0f3
2 changed files with 7 additions and 6 deletions
@@ -10,7 +10,7 @@
<nav class="flex flex-col gap-1 text-[14px]" aria-label="Primary">
{{ with site.Sections }}
{{ partial "explorer-tree.html" (dict "nodes" . "level" 0) }}
{{ partial "explorer-tree.html" (dict "nodes" . "level" 0 "currentPage" $) }}
{{ end }}
</nav>