mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 01:08:26 -05:00
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:
@@ -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? },
|
||||
|
||||
Reference in New Issue
Block a user