feat: derive sidebar from content

This commit is contained in:
2026-06-21 18:01:31 +00:00
parent b9b78db633
commit f8af9035e8
6 changed files with 36 additions and 61 deletions
@@ -9,8 +9,8 @@
</button>
<nav class="flex flex-col gap-1 text-sm" aria-label="Primary">
{{ with site.Menus.main }}
{{ partial "menu-tree.html" . }}
{{ with site.Sections }}
{{ partial "menu-tree.html" (dict "nodes" . "level" 0) }}
{{ end }}
</nav>