layout |
---|
home |
{% for chapter in site.chapters %}
{% assign chapter_pages = site.pages | where_exp: "page", "page.dir == chapter.dir" | sort: "title" %}
{% for page in chapter_pages %}
- [{{ page.title | default: page.name }}]({{ page.url }}) {% endfor %}
{% endfor %}