{% comment %} Supports up to 6 levels of nested comments (non-recursive) {% endcomment %} {% assign top_comments = site.comments | where: "parent", nil | sort: "date" %} {% for comment in top_comments %}
▲ @{{ comment.author }} {{ comment.date | date: "%b %d, %Y" }} | parent | next

{{ comment.content }}

reply {% assign replies1 = site.comments | where: "parent", comment.slug | sort: "date" %} {% for reply1 in replies1 %}
▲ @{{ reply1.author }} {{ reply1.date | date: "%b %d, %Y" }} | parent | next

{{ reply1.content }}

reply
{% assign replies2 = site.comments | where: "parent", reply1.slug | sort: "date" %} {% for reply2 in replies2 %}
▲ @{{ reply2.author }} {{ reply2.date | date: "%b %d, %Y" }} | parent | next

{{ reply2.content }}

reply {% assign replies3 = site.comments | where: "parent", reply2.slug | sort: "date" %} {% for reply3 in replies3 %}
▲ @{{ reply3.author }} {{ reply3.date | date: "%b %d, %Y" }} | parent | next

{{ reply3.content }}

reply {% assign replies4 = site.comments | where: "parent", reply3.slug | sort: "date" %} {% for reply4 in replies4 %}
▲ @{{ reply4.author }} {{ reply4.date | date: "%b %d, %Y" }} | parent | next

{{ reply4.content }}

reply {% assign replies5 = site.comments | where: "parent", reply4.slug | sort: "date" %} {% for reply5 in replies5 %}
▲ @{{ reply5.author }} {{ reply5.date | date: "%b %d, %Y" }} | parent | next

{{ reply5.content }}

reply
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}