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