{% extends "section.html" %} {% block body %} {% set page_class = "docs list" %} {% endblock body %} {% block header %} {% set current_section = "docs" %} {{ macros_header::header(current_section=current_section)}} {% endblock header %} {% block content %}

{{ section.title }}

{{ section.content | safe }}
{% set index_path = current_path ~ "_index.md" | trim_start_matches(pat="/") %} {% set index = get_section(path=index_path) %} {% for page in index.pages %} {% endfor %} {% for s in index.subsections %} {% set subsection = get_section(path=s) %} {% if subsection.pages %} {% for page in subsection.pages %} {% endfor %} {% endif %} {% endfor %}
{% endblock content %}