{#- This file was automatically generated - do not edit -#} {% import "partials/nav-item.html" as item with context %} {% set class = "md-nav md-nav--primary" %} {% if "navigation.tabs" in features %} {% set class = class ~ " md-nav--lifted" %} {% endif %} {% if "toc.integrate" in features %} {% set class = class ~ " md-nav--integrated" %} {% endif %} {% macro get_deepest_url(nav_item) %} {% if nav_item.children and nav_item.children|length > 0 %} {{ get_deepest_url(nav_item.children[0]) | trim }} {% else %} {{ nav_item.url | default('#') | trim }} {% endif %} {% endmacro %}