From db34c48927f1bbdaeb0fbda3a445df379fb83402 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Tue, 12 Aug 2014 12:52:38 -0400 Subject: [PATCH] Just like for Convertible, place the un-layouted content in document.content. --- lib/jekyll/renderer.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/jekyll/renderer.rb b/lib/jekyll/renderer.rb index f5d30133..b105093d 100644 --- a/lib/jekyll/renderer.rb +++ b/lib/jekyll/renderer.rb @@ -49,14 +49,17 @@ module Jekyll output = render_liquid(output, payload, info) end + output = convert(output) + document.content = output + if document.place_in_layout? place_in_layouts( - convert(output), + output, payload, info ) else - convert(output) + output end end