{% if page.home %} Liquid {% else %} Liquid {% endif %}
{%- assign sections = "basics, tags, filters" | split: ", " -%}
{%- for section in sections -%}

{{ section | capitalize }}

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