mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 01:08:26 -05:00
Merge pull request #4205 from jekyll/pull/fix-layout-vs-page-data
Merge pull request 4205
This commit is contained in:
@@ -210,7 +210,13 @@ module Jekyll
|
||||
|
||||
while layout
|
||||
Jekyll.logger.debug "Rendering Layout:", path
|
||||
payload = Utils.deep_merge_hashes(payload, {"content" => output, "page" => layout.data})
|
||||
payload = Utils.deep_merge_hashes(
|
||||
payload,
|
||||
{
|
||||
"content" => output,
|
||||
"layout" => layout.data
|
||||
}
|
||||
)
|
||||
|
||||
self.output = render_liquid(layout.content,
|
||||
payload,
|
||||
|
||||
Reference in New Issue
Block a user