lib/wp2middleman/frontmatter.rb in wp2middleman-0.0.2 vs lib/wp2middleman/frontmatter.rb in wp2middleman-0.0.3
- old
+ new
@@ -8,11 +8,11 @@
end
def post_data
data = {
'title' => post.title,
- 'date' => post.date_published,
+ 'date' => post.date_time_published,
'tags' => post.tags
}
data['published'] = false if !post.published?
@@ -29,6 +29,6 @@
private
attr_reader :post, :include_fields
end
-end
\ No newline at end of file
+end