Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix sitemap regeneration

  • Loading branch information...
commit c41b9e89ae88d50d8de43dd86d338c6d84483089 1 parent 2f41517
Ryan Daigle authored January 24, 2010 imathis committed February 05, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  Rakefile
2  Rakefile
@@ -201,7 +201,7 @@ task :sitemap => :default do
201 201
       end
202 202
       sitemap.puts %Q{  <url>}
203 203
       sitemap.puts %Q{    <loc>#{site_url}#{f}</loc>}
204  
-      sitemap.puts %Q{    <lastmod>#{Time.to_s('%Y-%m-%d')}</lastmod>}
  204
+      sitemap.puts %Q{    <lastmod>#{Time.now.to_s('%Y-%m-%d')}</lastmod>}
205 205
       sitemap.puts %Q{    <changefreq>weekly</changefreq>}
206 206
       sitemap.puts %Q{    <priority>#{priority}</priority>}
207 207
       sitemap.puts %Q{  </url>}

0 notes on commit c41b9e8

Please sign in to comment.
Something went wrong with that request. Please try again.