{% extends "base.html" %}
{% block title %}Docs{% endblock %}
{% block body %}
{% include 'breadcrumbs.html' %}
<h1>{{ tree.name or 'Docs' }}</h1>
<ul>
{%- for item in tree.children recursive %}
    <li><a href="{{ item.url }}">{{ item.name.replace('.html', '') }}</a>
    {%- if item.children -%}
        <ul>{{ loop(item.children) }}</ul>
    {%- endif %}</li>
{%- endfor %}
</ul>
{% endblock %}
