mkdocs-material/material/partials/tabs.html

14 lines
369 B
HTML
Raw Normal View History

2017-02-26 17:06:50 +03:00
{% set class = "md-tabs" %}
{% if page.ancestors | length > 0 %}
{% set class = "md-tabs md-tabs--active" %}
{% endif %}
<nav class="{{ class }}" data-md-component="tabs">
2017-01-26 23:10:52 +03:00
<div class="md-tabs__inner md-grid">
<ul class="md-tabs__list">
{% for nav_item in nav %}
{% include "partials/tabs-item.html" %}
{% endfor %}
</ul>
</div>
</nav>