{% assign level-1 = site.entries | where: "sectionclass", "h1" | sort: "number"%}
{% for entry in level-1 %}
-
{{ entry.title }}
{% if entry.is-parent %}
{% assign level-2 = site.entries | where: "parent-id", entry.sectionid | sort: "number" %}
{% for child in level-2 %}
-
{{ child.title }}
{% if child.is-parent %}
{% assign level-3 = site.entries | where: "parent-id", child.sectionid | sort: "number" %}
{% for grandchild in level-3 %}
-
{{ grandchild.title }}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
-
Privacy & cookies