Jemoji
[jekyll-now.git] / sitemap.xml
blob15d799f5f67a71fdf673d4c4c5487dbd3025e75e
1 ---
2 layout: none
3 sitemap:
4     priority: 0.7
5     changefreq: monthly
6     lastmod: 2013-11-16T10:17:00-05:00
7 ---
8 <?xml version="1.0" encoding="UTF-8"?>
9 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
10   <url>
11     <loc>{{ site.url }}/</loc>
12     <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
13     <changefreq>weekly</changefreq>
14     <priority>1.0</priority>
15   </url>
16   {% for post in site.posts %}
17     <url>
18       <loc>{{ site.url }}{{ post.url }}</loc>
19       {% if post.lastmod == null %}
20         <lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
21       {% else %}
22         <lastmod>{{ post.lastmod | date_to_xmlschema }}</lastmod>
23       {% endif %}
24       <changefreq>monthly</changefreq>
25       <priority>0.5</priority>
26     </url>
27   {% endfor %}
28   {% for page in site.pages %}
29   <url>
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>
35     {% elsif page.date %}
36       <lastmod>{{ page.date | date: "%Y-%m-%d" }}</lastmod>
37     {% else %}
38       <lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
39     {% endif %}
40     {% if page.sitemap.changefreq %}
41       <changefreq>{{ page.sitemap.changefreq }}</changefreq>
42     {% else %}
43       <changefreq>monthly</changefreq>
44     {% endif %}
45     {% if page.sitemap.priority %}
46       <priority>{{ page.sitemap.priority }}</priority>
47     {% else %}
48       <priority>0.3</priority>
49     {% endif %}
50   </url>
51   {% endfor %}
52 </urlset>