Sha256: 55af2724b754b23f1bb537f2cfa60df90a0d7da0b3d8065bf3f0be42da58cdca
Contents?: true
Size: 555 Bytes
Versions: 14
Compression:
Stored size: 555 Bytes
Contents
xml.instruct! xml.urlset "xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9" do xml.url do xml.loc "http://#{@host}" xml.priority 1.0 end @pages.each do |page| if not page.index_or_not_found? if page.templatized? page.content_type.contents.visible.each do |c| xml.url do xml.loc page_main_url(page, c) xml.priority 0.9 end end else xml.url do xml.loc page_main_url(page) xml.priority 0.9 end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems