mkdocs-material/material/toc.html

17 lines
526 B
HTML
Raw Normal View History

2016-08-07 19:01:56 +03:00
<div class="md-sidebar md-sidebar--secondary md-js__sidebar">
<div class="md-sidebar__scrollwrap">
<nav class="md-sidebar__inner md-nav md-nav--toc">
{% if h1 %}
{% set toc = (toc | first).children %}
{% endif %}
{% if toc and (toc | first) %}
2016-09-04 19:13:17 +03:00
<h3 class="md-nav__title">Table of contents</h3>
2016-08-07 19:01:56 +03:00
<ul class="md-nav__list">
{% for toc_item in toc %}
{% include "toc-item.html" %}
{% endfor %}
</ul>
{% endif %}
</nav>
</div>
</div>