--- layout: null sitemap: exclude: 'yes' --- {% for post in site.posts %} {% unless post.published == false %} {{ site.url }}{{ post.url }} {% if post.sitemap.lastmod %} {{ post.sitemap.lastmod | date: "%Y-%m-%d" }} {% elsif post.date %} {{ post.date | date_to_xmlschema }} {% else %} {{ site.time | date_to_xmlschema }} {% endif %} {% if post.sitemap.changefreq %} {{ post.sitemap.changefreq }} {% else %} monthly {% endif %} {% if post.sitemap.priority %} {{ post.sitemap.priority }} {% else %} 0.5 {% endif %} {% endunless %} {% endfor %}