From 1919feb82ea9c6b847f0af51f16e8c2ccdc22723 Mon Sep 17 00:00:00 2001 From: Andrew Senetar Date: Tue, 7 Jan 2014 20:37:14 -0500 Subject: [PATCH] Fix Date format in sitemap Fix filter name --- sitemap.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sitemap.xml b/sitemap.xml index bed1a19..e59d8be 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -10,14 +10,14 @@ layout: nil {% for post in site.posts %} {{ site.url }}{{ post.url }} - {% if post.modified %}{{ post.modified | to_xmlschema }}{% else %}{{ post.date | to_xmlschema }}{% endif %} + {% if post.modified %}{{ post.modified | date_to_xmlschema }}{% else %}{{ post.date | date_to_xmlschema }}{% endif %} {% endfor %} {% for page in site.pages %} {{ site.url }}{{ page.url }} - {{ site.time | to_xmlschema }} + {{ site.time | date_to_xmlschema }} {% endfor %} \ No newline at end of file