lib/octopress-ink/assets/asset.rb in octopress-ink-1.0.0.rc.14 vs lib/octopress-ink/assets/asset.rb in octopress-ink-1.0.0.rc.15
- old
+ new
@@ -127,10 +127,16 @@
@rendered_content
end
def payload
unless @payload
- @payload = Octopress.site.site_payload
+ @payload = Ink.payload
+ @payload['jekyll'] = {
+ 'version' => Jekyll::VERSION,
+ 'environment' => Jekyll.env
+ }
+ @payload['site'] = Octopress.site.config
+ @payload['site']['data'] = Octopress.site.site_data
@payload['page'] = data
end
@payload
end