1
0
Fork 0
forked from OpenNeo/impress
impress/app/views/sitemap/index.xml.haml

15 lines
297 B
Text
Raw Normal View History

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