--- layout: null --- {% for page in site.pages %} {% if page.sitemap != null and page.sitemap != empty %} {{ site.url }}{{ page.url }} {% if page.sitemap %} {% if page.sitemap.lastmod %} {{ page.sitemap.lastmod | date_to_xmlschema }} {% endif %} {% if page.sitemap.changefreq %} {{ page.sitemap.changefreq }} {% endif %} {% if page.sitemap.priority %} {{ page.sitemap.priority }} {% endif %} {% endif %} {% endif %} {% endfor %} {% for post in site.posts %} {{ site.url }}{{ site.baseurl }}{{ post.url }} {% if post.lastmod == null %} {{ post.date | date_to_xmlschema }} {% else %} {{ post.lastmod | date_to_xmlschema }} {% endif %} weekly 1.0 {% endfor %}