From cd946a587b2e595615606b7dd46fb6f10802e8e0 Mon Sep 17 00:00:00 2001 From: Kris Brown Date: Fri, 26 Feb 2010 22:07:26 +0000 Subject: [PATCH] removed tabs and made into a better example for sitemap times --- test/source/sitemap.xml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/test/source/sitemap.xml b/test/source/sitemap.xml index 96b38a14..8d9f0fcd 100644 --- a/test/source/sitemap.xml +++ b/test/source/sitemap.xml @@ -3,21 +3,21 @@ layout: nil --- - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> + - http://example.com - {{ site.time | date_to_xmlschema }} - daily - 1.0 - - - {% for post in site.posts %} - - http://example.com/{{ post.url }}/ - {{ site.time }} - monthly - 0.2 - - {% endfor %} - \ No newline at end of file + http://example.com + {{ site.time | date: "%Y-%m-%d" }} + daily + 1.0 + + + {% for post in site.posts %} + + http://example.com/{{ post.url }}/ + {{ post.date | date: "%Y-%m-%d" }} + monthly + 0.2 + + {% endfor %} +