mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-02 10:15:55 +00:00
remove post bodies from public/_data.json
This commit is contained in:
parent
35d16d8ed1
commit
720f88cc60
2 changed files with 11 additions and 22 deletions
|
|
@ -45,8 +45,7 @@ class Blag
|
|||
author: post['author'],
|
||||
url: post['relative_url'],
|
||||
link: post['link'],
|
||||
styles: post['styles'],
|
||||
body: post['body']
|
||||
styles: post['styles']
|
||||
}.delete_if { |k, v| v.nil? }
|
||||
end
|
||||
json = JSON.pretty_generate data
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue