website-frontend/templates/navbar-menu.html
2023-07-08 13:06:26 +02:00

12 lines
No EOL
437 B
HTML

{% load menu_tags %}
{% for child in children %}
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-47 nav-item js-scroll-trigger nav-link cust-nav">
<a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}">{{ child.get_menu_title }}</a>
{% if child.children %}
<ul>
{% show_menu from_level to_level extra_inactive extra_active template "" "" child %}
</ul>
{% endif %}
</li>
{% endfor %}