{% for section in site.doc-sections %}

{{ section.title }}

    {% for site_page in site.pages %} {% if site_page.url contains section.id | prepend:'/' %}
  • {{ site_page.title }}
  • {% endif %} {% endfor %}
{% endfor %}