6 lastmod: 2013-11-16T10:17:00-05:00
8 <?xml version="1.0" encoding="UTF-8"?>
9 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
11 <loc>{{ site.url }}/</loc>
12 <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
13 <changefreq>weekly</changefreq>
14 <priority>1.0</priority>
16 {% for post in site.posts %}
18 <loc>{{ site.url }}{{ post.url }}</loc>
19 {% if post.lastmod == null %}
20 <lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
22 <lastmod>{{ post.lastmod | date_to_xmlschema }}</lastmod>
24 <changefreq>monthly</changefreq>
25 <priority>0.5</priority>
28 {% for page in site.pages %}
30 <loc>{{ site.url }}{{ page.url }}</loc>
31 {% if page.sitemap.lastmod %}
32 <lastmod>{{ page.sitemap.lastmod | date: "%Y-%m-%d" }}</lastmod>
33 {% elsif page.lastmod %}
34 <lastmod>{{ page.lastmod | date: "%Y-%m-%d" }}</lastmod>
36 <lastmod>{{ page.date | date: "%Y-%m-%d" }}</lastmod>
38 <lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
40 {% if page.sitemap.changefreq %}
41 <changefreq>{{ page.sitemap.changefreq }}</changefreq>
43 <changefreq>monthly</changefreq>
45 {% if page.sitemap.priority %}
46 <priority>{{ page.sitemap.priority }}</priority>
48 <priority>0.3</priority>