Use proper Ruby syntax for constant
This commit is contained in:
parent
2744b66fac
commit
32e55e7717
|
@ -312,7 +312,7 @@ module Jekyll
|
||||||
def site_payload
|
def site_payload
|
||||||
{"site" => self.config.merge({
|
{"site" => self.config.merge({
|
||||||
"time" => self.time,
|
"time" => self.time,
|
||||||
"version" => Jekyll.VERSION,
|
"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? },
|
||||||
|
|
Loading…
Reference in New Issue