Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Backport patch-1 from #6442 to 3.6-stable
  • Loading branch information
bellvat authored and pathawks committed Oct 20, 2017
1 parent d41f181 commit a588127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll/renderer.rb
Expand Up @@ -143,7 +143,7 @@ def invalid_layout?(layout)
# Returns String rendered content
def place_in_layouts(content, payload, info)
output = content.dup
layout = layouts[document.data["layout"]]
layout = layouts[document.data["layout"].to_s]
validate_layout(layout)

used = Set.new([layout])
Expand Down

0 comments on commit a588127

Please sign in to comment.