Fix sitemap regeneration
This commit is contained in:
parent
2f41517191
commit
c41b9e89ae
2
Rakefile
2
Rakefile
@ -201,7 +201,7 @@ task :sitemap => :default do
|
|||||||
end
|
end
|
||||||
sitemap.puts %Q{ <url>}
|
sitemap.puts %Q{ <url>}
|
||||||
sitemap.puts %Q{ <loc>#{site_url}#{f}</loc>}
|
sitemap.puts %Q{ <loc>#{site_url}#{f}</loc>}
|
||||||
sitemap.puts %Q{ <lastmod>#{Time.to_s('%Y-%m-%d')}</lastmod>}
|
sitemap.puts %Q{ <lastmod>#{Time.now.to_s('%Y-%m-%d')}</lastmod>}
|
||||||
sitemap.puts %Q{ <changefreq>weekly</changefreq>}
|
sitemap.puts %Q{ <changefreq>weekly</changefreq>}
|
||||||
sitemap.puts %Q{ <priority>#{priority}</priority>}
|
sitemap.puts %Q{ <priority>#{priority}</priority>}
|
||||||
sitemap.puts %Q{ </url>}
|
sitemap.puts %Q{ </url>}
|
||||||
|
Loading…
Reference in New Issue
Block a user