Sha256: 965e4aada0a7b175bac5d460c7101ec05eb1449024842453a92785ee909920d7
Contents?: true
Size: 544 Bytes
Versions: 2
Compression:
Stored size: 544 Bytes
Contents
xml.instruct! :xml, version: "1.0", encoding: "utf-8" xml.urlset xmlns: "http://www.sitemaps.org/schemas/sitemap/0.9" do xml.url do xml.loc root_url xml.lastmod l(root.updated_at, format: :sitemap, locale: :en) xml.changefreq root.frequency xml.priority root.priority end root.descendants.published.ordered.each do |page| xml.url do xml.loc page_url(page) xml.lastmod l(page.updated_at, format: :sitemap, locale: :en) xml.changefreq page.frequency xml.priority page.priority end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
quadro-0.6.1 | app/views/quadro/sitemaps/index.xml.builder |
quadro-0.6.0 | app/views/quadro/sitemaps/index.xml.builder |