{% for section in site.sections %}
{% assign c = site.collections | where: "label", section.collection | first %}
{{ section.title }}
{% assign items = site[c.label] | sort: "question" %}
{% for item in items %}[Q-{{item.question}}: {{ item.title }}](#q-{{item.question | downcase}})
{% endfor %}
{% endfor %}
{% for section in site.sections %}
{% assign c = site.collections | where: "label", section.collection | first %}
{% assign items = site[c.label] | sort: "question" %}
-
{% for item in items %}
- Q-{{item.question}}:
- {{ item.title }}
- A-{{item.question}}:
- {{item.content}}
{% endfor %}
{% endfor %}