{#- Drafter override of Material's tabs partial (STUDENT_DOCS_PLAN.md §9.3). Renders the primary journey and utility sections as normal tabs, and collapses the Teach / Extend / Developers sections into a "More" dropdown at the far right — except when the reader is already inside one of those sections, where all three render as visible tabs instead. The dropdown opens on hover and keyboard focus via CSS, and on click/touch via assets/drafter-theme.js. -#} {% import "partials/tabs-item.html" as item with context %} {% set more_titles = ["Teach", "Extend", "Developers"] %} {% set ns = namespace(expanded=false) %} {% for nav_item in nav.items %} {% if nav_item.title in more_titles and nav_item.active %} {% set ns.expanded = true %} {% endif %} {% endfor %}