aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorRyan Daigle <ryan.daigle@gmail.com>2010-01-24 17:53:31 -0500
committerB Mathis <brandon@imathis.com>2010-02-05 09:46:36 -0600
commitc41b9e89ae88d50d8de43dd86d338c6d84483089 (patch)
tree18b2cd7241d130aab5c811914dec294fff53629f /Rakefile
parent2f415171915482080f8e5c63b53a4a387e4de5b7 (diff)
downloadmy_new_personal_website-c41b9e89ae88d50d8de43dd86d338c6d84483089.tar.xz
my_new_personal_website-c41b9e89ae88d50d8de43dd86d338c6d84483089.zip
Fix sitemap regeneration
Diffstat (limited to '')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index a38f1814..4e0b2635 100644
--- a/Rakefile
+++ b/Rakefile
@@ -201,7 +201,7 @@ task :sitemap => :default do
end
sitemap.puts %Q{ <url>}
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{ <priority>#{priority}</priority>}
sitemap.puts %Q{ </url>}