Now adding a "date" to the YAML front-matter of a post, based on the original date the post was authored according to MT.

This commit is contained in:
Scott Hill 2010-08-06 10:33:59 -07:00
parent f6acbb869e
commit b3cec39843
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ module Jekyll
'layout' => 'post',
'title' => title.to_s,
'mt_id' => post[:entry_id],
'date' => date
}.delete_if { |k,v| v.nil? || v == ''}.to_yaml
File.open("_posts/#{name}", "w") do |f|