1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-15 17:11:22 +01:00
mkdocs-material/material/partials/toc-item.html

15 lines
387 B
HTML
Raw Normal View History

2016-09-23 11:56:25 +02:00
<li class="md-nav__item">
<a href="{{ toc_item.url }}" title="{{ toc_item.title }}" class="md-nav__link">
{{ toc_item.title }}
</a>
{% if toc_item.children %}
<nav class="md-nav">
<ul class="md-nav__list">
{% for toc_item in toc_item.children %}
{% include "partials/toc-item.html" %}
{% endfor %}
</ul>
</nav>
{% endif %}
</li>