<%- unless klass.sections.length == 1 then %>
<div id="sections-section" class="nav-section">
  <details class="nav-section-collapsible" open>
    <summary class="nav-section-header">
      <span class="nav-section-icon">
        <svg><use href="#icon-list"></use></svg>
      </span>
      <span class="nav-section-title">Sections</span>
      <span class="nav-section-chevron">
        <svg><use href="#icon-chevron"></use></svg>
      </span>
    </summary>

    <ul class="nav-list" role="directory">
      <%- klass.sort_sections.each do |section| %>
        <li><a href="#<%= section.aref %>"><%= h section.title %></a></li>
      <%- end %>
    </ul>
  </details>
</div>
<%- end %>
