Revert "stort drafts newest first"

This reverts commit 7375cb06e0.
This commit is contained in:
Sami Samhuri 2015-05-28 09:49:16 -07:00
parent be9fbfd32f
commit 9697cab77b

View file

@ -224,7 +224,7 @@ class HarpBlog
extra_fields ||= {}
post_data = read_post_data(post_path(post_dir))
post_data.sort_by do |k, v|
-(v['timestamp'] || Time.now).to_i
(v['timestamp'] || Time.now).to_i
end.map do |id, fields|
fields[:id] = id
unless extra_fields[:draft]