Sha256: a069e262338d68cdaf0bc07be43b2cd63b4d6ab7578d2f5ac6feaa49d7e3b9c8
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
xml.instruct! xml.urlset 'xmlns' => 'http://www.sitemaps.org/schemas/sitemap/0.9' do sitemap.resources.select { |page| page.path =~ /\.html/ }.each do |page| xml.url do xml.loc File.join(url_root, page.path) xml.lastmod File.mtime(page.source_file).iso8601 xml.changefreq page.data.change_frequency || default_change_frequency xml.priority page.data.priority || default_priority end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
middleman-search_engine_sitemap-1.0.0.rc | lib/middleman/search_engine_sitemap/templates/sitemap.xml.builder |