mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-14 19:07:41 +01:00
14 lines
371 B
HTML
14 lines
371 B
HTML
<nav class="md-nav md-nav--secondary">
|
|
{% if h1 %}
|
|
{% set toc = (toc | first).children %}
|
|
{% endif %}
|
|
{% if toc and (toc | first) %}
|
|
<label class="md-nav__title" for="toc">Table of contents</label>
|
|
<ul class="md-nav__list">
|
|
{% for toc_item in toc %}
|
|
{% include "partials/toc-item.html" %}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</nav>
|