remove post bodies from public/_data.json

This commit is contained in:
Sami Samhuri 2014-03-10 00:15:55 -07:00
parent 35d16d8ed1
commit 720f88cc60
2 changed files with 11 additions and 22 deletions

View file

@ -45,8 +45,7 @@ class Blag
author: post['author'], author: post['author'],
url: post['relative_url'], url: post['relative_url'],
link: post['link'], link: post['link'],
styles: post['styles'], styles: post['styles']
body: post['body']
}.delete_if { |k, v| v.nil? } }.delete_if { |k, v| v.nil? }
end end
json = JSON.pretty_generate data json = JSON.pretty_generate data

File diff suppressed because one or more lines are too long