{% macro nav_link(text, href, li_icon="fa-circle") %}

{{text}}

{% endmacro %} {% macro li(class="nav-item") %}
  • {{ caller() }}
  • {% endmacro %} {% macro li_with_nav_link(text, href, li_icon="fa-circle") %} {% call li() %} {{nav_link(text, href, li_icon)}} {% endcall %} {% endmacro %} {% macro nav_ul(items, ul_class="nav nav-treeview") %} {% endmacro%} {% macro nav_menu_item(item) %} {% if item.type == "section_header" %} {% elif item.type == "submenu" %} {% else %} {{ li_with_nav_link(item.text, url_for(item.url_for))}} {% endif %} {% endmacro %} {% macro nav_menu(items) %} {% endmacro %}