{#- QMDC Graph Sidebar — replaces Material's default TOC (partials/toc.html). Material includes this partial in two contexts: 1. Right sidebar (desktop) — inside .md-sidebar--secondary 2. Left nav drawer (mobile) — inside .md-nav We render the full graph sidebar in both contexts. Material's CSS handles the visibility (secondary sidebar hidden on mobile, nav drawer hidden on desktop). Template context: qmdc_graph_sidebar dict injected by QmdcPlugin.on_page_context. -#} {% set sidebar = qmdc_graph_sidebar %} {% if sidebar %} {% endif %}