From 72ac45045456bdbbbecb38db2e62e113f22f37d4 Mon Sep 17 00:00:00 2001 From: Barry Clark Date: Thu, 6 Feb 2014 19:18:00 -0500 Subject: First commit of base theme. --- sitemap.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 sitemap.xml (limited to 'sitemap.xml') diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..15d799f --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,52 @@ +--- +layout: none +sitemap: + priority: 0.7 + changefreq: monthly + lastmod: 2013-11-16T10:17:00-05:00 +--- + + + + {{ site.url }}/ + {{ site.time | date_to_xmlschema }} + weekly + 1.0 + + {% for post in site.posts %} + + {{ site.url }}{{ post.url }} + {% if post.lastmod == null %} + {{ post.date | date_to_xmlschema }} + {% else %} + {{ post.lastmod | date_to_xmlschema }} + {% endif %} + monthly + 0.5 + + {% endfor %} + {% for page in site.pages %} + + {{ site.url }}{{ page.url }} + {% if page.sitemap.lastmod %} + {{ page.sitemap.lastmod | date: "%Y-%m-%d" }} + {% elsif page.lastmod %} + {{ page.lastmod | date: "%Y-%m-%d" }} + {% elsif page.date %} + {{ page.date | date: "%Y-%m-%d" }} + {% else %} + {{ site.time | date: "%Y-%m-%d" }} + {% endif %} + {% if page.sitemap.changefreq %} + {{ page.sitemap.changefreq }} + {% else %} + monthly + {% endif %} + {% if page.sitemap.priority %} + {{ page.sitemap.priority }} + {% else %} + 0.3 + {% endif %} + + {% endfor %} + -- cgit v1.2.3