toc.html 436 B

12345678910
  1. <div class="bs-sidebar hidden-print affix well" role="complementary">
  2. <ul class="nav bs-sidenav">
  3. {% for toc_item in toc %}
  4. <li class="main {% if toc_item.active %}active{% endif %}"><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
  5. {% for toc_item in toc_item.children %}
  6. <li><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
  7. {% endfor %}
  8. {% endfor %}
  9. </ul>
  10. </div>