{# MAP sidebar — shadows bragi.contrib.nav's default _site_nav.html. Renders the current section's tree: siblings of the current page + expanded children of the current page when it has any. Nav contract (bragi.contrib.nav): - `site_nav_tree()` is a Jinja global that returns list[NavNode]. - Each NavNode has `.page` (SQLAlchemy Page row) and `.children` (list[NavNode] of direct children, never deeper than one level). - `url_for_page(page)` is a Jinja global that returns the canonical path string (e.g. "/links-awakening/"). - There is no `.is_current` field; we compare `url_for_page(node.page)` against `request.path` to compute it at render time. #} {% set tree = site_nav_tree() %}