--- layout: default ---
{% assign chapter = site.data.chapters[page.collection] %}
{{page.title}}
{{chapter.description}}
{% for section in chapter.sections %}
{% assign items = site[page.collection]| where: 'section', section.title | sort: 'order' %}

{{section.title}}
{{items.size}}

{% endfor %}