{#- Full replacement of shadcn's templates/bottom_sidebar.html (mobile nav dialog). The theme's own version only renders top_item.children|selectattr("is_page"), so any subsection under a top-level nav item (e.g. Advanced > Sources, or Advanced > Merging & Strategies) is silently dropped — only that section's direct pages show up. dature's Advanced section is almost entirely subsections (one direct page, four subsections), so on mobile it looked like the whole section had vanished. This recurses into subsections instead of filtering them out, same fix as docs/overrides/templates/sidebar_section.html for the desktop sidebar. -#} {% macro render_link(item) %} {% if item.meta and item.meta.sidebar_title %} {{ item.meta.sidebar_title }} {% else %} {{ item.title }} {% endif %} {% endmacro %} {% macro render_group(item) %}