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:
commit
20f44be87f
|
@ -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? },
|
||||
|
|
Loading…
Reference in New Issue