Put version under 'jekyll' namespace.

This commit is contained in:
Parker Moore 2013-08-30 18:54:03 -04:00
parent 20f44be87f
commit b7e34175d0
1 changed files with 2 additions and 2 deletions

View File

@ -266,9 +266,9 @@ module Jekyll
# "tags" - The Hash of tag values and Posts. # "tags" - The Hash of tag values and Posts.
# See Site#post_attr_hash for type info. # See Site#post_attr_hash for type info.
def site_payload def site_payload
{"site" => self.config.merge({ {"jekyll" => { "version" => Jekyll::VERSION },
"site" => self.config.merge({
"time" => self.time, "time" => self.time,
"version" => Jekyll::VERSION,
"posts" => self.posts.sort { |a, b| b <=> a }, "posts" => self.posts.sort { |a, b| b <=> a },
"pages" => self.pages, "pages" => self.pages,
"html_pages" => self.pages.reject { |page| !page.html? }, "html_pages" => self.pages.reject { |page| !page.html? },