mirror of
https://github.com/vinta/awesome-python.git
synced 2024-11-24 04:21:07 +00:00
15 lines
418 B
HTML
15 lines
418 B
HTML
{% if not nav_item.children %}
|
|
<li {% if nav_item.active %}class="active"{% endif %}>
|
|
<a href="{{ nav_item.url }}">{{ nav_item.title }}</a>
|
|
</li>
|
|
{% else %}
|
|
<li class="dropdown-submenu">
|
|
<a tabindex="-1" href="">{{ nav_item.title }}</a>
|
|
<ul class="dropdown-menu">
|
|
{% for nav_item in nav_item.children %}
|
|
{% include "nav-sub.html" %}
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endif %}
|