{#-
This file was automatically generated - do not edit
-#}
{% set class = "md-nav__item" %}
{% if nav_item.active %}
{% set class = "md-nav__item md-nav__item--active" %}
{% endif %}
{% if nav_item.children %}
{% if nav_item.active %}
{% else %}
{% endif %}
{% elif nav_item == page %}
{% set toc_ = page.toc %}
{% if toc_ | first is defined and "\x3ch1 id=" in page.content %}
{% set toc_ = (toc_ | first).children %}
{% endif %}
{% if toc_ | first is defined %}
{% endif %}
{{- nav_item.title -}}
{% if toc_ | first is defined %}
{% include "partials/toc.html" %}
{% endif %}