From 80b13a81fa865c87782a1c6c781a47a5ae288535 Mon Sep 17 00:00:00 2001 From: Kris Brown Date: Sat, 27 Feb 2010 14:11:06 +0000 Subject: [PATCH] added usage of site.html_pages to test source sitemap.xml --- test/source/sitemap.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/test/source/sitemap.xml b/test/source/sitemap.xml index 8d9f0fcd..e84d32fe 100644 --- a/test/source/sitemap.xml +++ b/test/source/sitemap.xml @@ -14,10 +14,19 @@ layout: nil {% for post in site.posts %} - http://example.com/{{ post.url }}/ + http://example.com{{ post.url }}/ {{ post.date | date: "%Y-%m-%d" }} monthly 0.2 {% endfor %} + + {% for page in site.html_pages %} + + http://example.com{{ page.url }} + {{ site.time | date: "%Y-%m-%d" }} + {% if page.changefreq %}{{ page.changefreq }}{% endif %} + {% if page.priority %}{{ page.priority }}{% endif %} + + {% endfor %}