diff --git a/lib/jekyll/convertible.rb b/lib/jekyll/convertible.rb index b247ac4e..1e5cfdeb 100644 --- a/lib/jekyll/convertible.rb +++ b/lib/jekyll/convertible.rb @@ -78,6 +78,7 @@ module Jekyll # # Returns the converted content def render_liquid(content, payload, info) + Jekyll.logger.debug "Rendering Liquid for #{self.path}", "" Liquid::Template.parse(content).render!(payload, info) rescue Exception => e Jekyll.logger.error "Liquid Exception:", "#{e.message} in #{payload[:file]}" diff --git a/lib/jekyll/excerpt.rb b/lib/jekyll/excerpt.rb index fb63f5cb..682bf135 100644 --- a/lib/jekyll/excerpt.rb +++ b/lib/jekyll/excerpt.rb @@ -33,6 +33,7 @@ module Jekyll def render_all_layouts(layouts, payload, info) output = content + Jekyll.logger.debug "Output of", "#{self.path} => '#{self.output}'" end # The UID for this post (useful in feeds). @@ -51,6 +52,7 @@ module Jekyll end def to_s + Jekyll.logger.debug "Excerpt#to_s:", "#{output} || #{content}" output || content end