Skip to content

Commit 035c6e0

Browse files
bdorypathawks
authored andcommitted
Backport patch-1 from #6442 to 3.6-stable
1 parent 1377cf2 commit 035c6e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/jekyll/renderer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def invalid_layout?(layout)
143143
# Returns String rendered content
144144
def place_in_layouts(content, payload, info)
145145
output = content.dup
146-
layout = layouts[document.data["layout"]]
146+
layout = layouts[document.data["layout"].to_s]
147147
validate_layout(layout)
148148

149149
used = Set.new([layout])

0 commit comments

Comments
 (0)