{% set navPages = collections.all | eleventyNavigation %} {% macro renderNavListItem(entry) %} {% if entry.children.length %}
  • {{ entry.title }}
  • {% else %}
  • {{ entry.title }}
  • {%- endif -%} {%- endmacro %}