Fix #4066: Move Convertible#render_liquid to using render!
This commit is contained in:
parent
a0f3860cfa
commit
0f4aed9ccf
|
@ -109,7 +109,7 @@ module Jekyll
|
||||||
#
|
#
|
||||||
# Returns the converted content
|
# Returns the converted content
|
||||||
def render_liquid(content, payload, info, path)
|
def render_liquid(content, payload, info, path)
|
||||||
site.liquid_renderer.file(path).parse(content).render(payload, info)
|
site.liquid_renderer.file(path).parse(content).render!(payload, info)
|
||||||
rescue Tags::IncludeTagError => e
|
rescue Tags::IncludeTagError => e
|
||||||
Jekyll.logger.error "Liquid Exception:", "#{e.message} in #{e.path}, included in #{path || self.path}"
|
Jekyll.logger.error "Liquid Exception:", "#{e.message} in #{e.path}, included in #{path || self.path}"
|
||||||
raise e
|
raise e
|
||||||
|
|
Loading…
Reference in New Issue