From c6a37a424b25b0ff73fa80cd80ebf5868a457ec1 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Fri, 19 Jul 2013 15:46:20 +0200 Subject: [PATCH] Debug statements - take them out later --- lib/jekyll/convertible.rb | 1 + lib/jekyll/excerpt.rb | 2 ++ 2 files changed, 3 insertions(+) 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