Merge branch 'patch-1' of git://github.com/pathawks/jekyll into pathawks-patch-1

* 'patch-1' of git://github.com/pathawks/jekyll:
  Use proper Ruby syntax for constant
  Expose Jekyll version to templates
This commit is contained in:
Parker Moore 2013-08-30 18:50:58 -04:00
commit 20f44be87f
1 changed files with 1 additions and 0 deletions

View File

@ -268,6 +268,7 @@ module Jekyll
def site_payload
{"site" => self.config.merge({
"time" => self.time,
"version" => Jekyll::VERSION,
"posts" => self.posts.sort { |a, b| b <=> a },
"pages" => self.pages,
"html_pages" => self.pages.reject { |page| !page.html? },