adding date to wordpress migrator
This commit is contained in:
parent
13df722073
commit
b3634b522a
|
@ -39,7 +39,8 @@ module Jekyll
|
|||
'title' => title.to_s,
|
||||
'excerpt' => post[:post_excerpt].to_s,
|
||||
'wordpress_id' => post[:ID],
|
||||
'wordpress_url' => post[:guid]
|
||||
'wordpress_url' => post[:guid],
|
||||
'date' => date
|
||||
}.delete_if { |k,v| v.nil? || v == ''}.to_yaml
|
||||
|
||||
# Write out the data and content to file
|
||||
|
|
Loading…
Reference in New Issue