--- 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.7 {% endif %} {% endunless %} {% endfor %} {% for page in site.pages %} {% unless page.sitemap.exclude == "yes" %} {{ site.url }}{{ page.url | remove: "index.html" }} {% if page.sitemap.lastmod %} {{ page.sitemap.lastmod | date: "%Y-%m-%d" }} {% elsif page.date %} {{ page.date | date_to_xmlschema }} {% else %} {{ site.time | date_to_xmlschema }} {% endif %} {% if page.sitemap.changefreq %} {{ page.sitemap.changefreq }} {% else %} monthly {% endif %} {% if page.sitemap.priority %} {{ page.sitemap.priority }} {% else %} 0.5 {% endif %} {% endunless %} {% endfor %}