--- layout: null permalink: /sitemap/pages.xml --- {%- assign entries = '' | split:'@' %} {%- for page in site.pages %} {%- assign nav_sitemap = page.nav-sitemap | isnil: true %} {%- if nav_sitemap and page.title %} {%- capture data -%} {{ site.url }}{{ page.url }} {{ page.date }} {%- endcapture %} {%- assign entries = entries | push: data %} {%- endif %} {%- endfor %} {%- for entry in entries -%} {{ entry }} {%- endfor -%}