{#- Override of Material's partials/path-item.html: strips section icons written as ":icon: Title" (see the sectionicons plugin) so the raw markup is not shown in the breadcrumbs. Icons are not rendered, to stay consistent with pages, whose `icon` metadata is not shown either. -#} {% macro render_content(nav_item) %} {% set title = nav_item.title %} {% if "material-joapuiib/sectionicons" in config.plugins and title %} {% set title = title | remove_icon %} {% endif %} {{ title }} {% endmacro %} {% macro render(nav_item, ref) %} {% set ref = ref or nav_item %} {% if nav_item.children %} {% set first = nav_item.children | first %} {% if first.children %} {{ render(first, ref) }} {% else %}
  • {{ render_content(ref) }}
  • {% endif %} {% else %}
  • {{ render_content(ref) }}
  • {% endif %} {% endmacro %}