wiki.status.im/basic_theme/nav.html

18 lines
348 B
HTML
Executable File

<!--
-->
{% 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>
{{ nav_item.title }}
<ul>
{% for nav_item in nav_item.children %}
{% include "nav.html" %}
{% endfor %}
</ul>
</li>
{% endif %}