Liquid
{% capture folders %}basics,tags,filters{% endcapture %} {% assign sections = folders | split: "," %} {% for section in sections %}
  • {{ section | capitalize }}

      {% for page in site.pages %} {% if page.path contains section/ %} {% unless page.path contains "index.html" %}
    • {{ page.title }}
    • {% endunless %} {% endif %} {% endfor %}
{% endfor %}