mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
parent
be9fbfd32f
commit
9697cab77b
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue