{% for item in include.section_index %} {% assign page_path = page.url | remove: '/index.html' %} {% if page_path == item.path %}
{% assign p = site.pages | where: 'url', nested_item.path | first %} {{ p.description | default p.Description | default nested_item.description | default "no description" }}