{# _toc_sidebar.html — TOC sidebar shared by owl/skos/rdf viewers.
Requires `sections` in context (same shape used by viewer templates):
section.id, section.title, section.entities[].label, section.entities[].anchor_id
Optional: type_map (viewer.html). Falls back to section.title raw. #}
{% if grouped_view and sections %}
{% endif %}