impress/app/views/sitemap/index.xml.haml
2011-05-20 20:49:48 -04:00

14 lines
295 B
Text

!!! XML
%urlset{:xmlns => "http://www.sitemaps.org/schemas/sitemap/0.9"}
- for item in @items
%url
%loc http://#{request.host_with_port}#{url_for(item)}
%changefreq monthly
%priority 0.5
-# Homepage
%url
%loc= root_url
%changefreq monthly
%priority 1.0