aboutsummaryrefslogtreecommitdiff
path: root/plugins/code_block.rb
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-08-01 16:23:17 -0400
committerBrandon Mathis <brandon@imathis.com>2011-08-01 16:28:07 -0400
commit6009daa8a215903506509227380a4ea09b8b6f25 (patch)
tree646b4daca69a66945470829520354e95506f63ec /plugins/code_block.rb
parentff1dba19f2f08e31a928778bdd94663b98d7dc19 (diff)
downloadmy_new_personal_website-6009daa8a215903506509227380a4ea09b8b6f25.tar.xz
my_new_personal_website-6009daa8a215903506509227380a4ea09b8b6f25.zip
code_block and inlcude_code no longer needlessly render through the Liquid template parser
Diffstat (limited to 'plugins/code_block.rb')
-rw-r--r--plugins/code_block.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/code_block.rb b/plugins/code_block.rb
index cdb12307..86708285 100644
--- a/plugins/code_block.rb
+++ b/plugins/code_block.rb
@@ -84,10 +84,6 @@ module Jekyll
source += "<pre><code>" + code.lstrip.rstrip.gsub(/</,'&lt;') + "</code></pre></figure></div>"
end
source = source + context['pygments_suffix'] if context['pygments_suffix']
- partial = Liquid::Template.parse(source)
- context.stack do
- partial.render(context)
- end
end
end
end