lib/awestruct/extensions/sitemap.xml.haml in awestruct-0.2.9 vs lib/awestruct/extensions/sitemap.xml.haml in awestruct-0.2.10

- old
+ new

@@ -5,11 +5,11 @@ %urlset{ :xmlns=>'http://www.sitemaps.org/schemas/sitemap/0.9' } - unless page.sitemap_entries.empty? - for entry in page.sitemap_entries %url %loc= "#{entry.site.base_url}#{entry.url}" - - if entry.date - %lastmod= entry.date + - if entry.lastmod + %lastmod= entry.lastmod - if entry.priority %priority= entry.priority - if entry.change_frequency %changefreq= entry.change_frequency