{% for item in site.pages %} {% unless item.styles == true or item.url contains "/page" or item.url == "/404.html" %}
  • {% if item.collectionpage %} {% assign collectiondata = site.collections | where: "label", item.collectionpage | first %} {{ collectiondata.title }} {% else %} {{ item.title }} {% endif %}
  • {% endunless %} {% endfor %}