{% set navPages = collections.all | eleventyNavigation %} {% macro renderNavListItem(entry) %} {% if entry.children.length %}