{% def "render_doctree" -%} {%- enddef %}
    {%- for doc in index.2 %}
  1. {%- if index.1 %} {% include index.1 %} {%- else %} {% with url=relto:.urls.doc[slug:doc.name] %} ${doc.data.title} {# {%- if doc.doctree %} {%- call "render_doctree" with nodes=doc.doctree, url=url %} {%- endif %} #} {%- endwith %} {%- endif %}
  2. {%- endfor %}