From 67c5edb2f6eb8747a659109fe160b4c54f6e2917 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Tue, 12 Jul 2011 08:49:43 -0400 Subject: added a space in code figcaption title to make it play nicer with RSS or other no CSS views --- .themes/classic/plugins/include_code.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.themes/classic/plugins') diff --git a/.themes/classic/plugins/include_code.rb b/.themes/classic/plugins/include_code.rb index fa5c76ff..5569b4a3 100644 --- a/.themes/classic/plugins/include_code.rb +++ b/.themes/classic/plugins/include_code.rb @@ -25,7 +25,7 @@ module Jekyll code = file.read file_type = file.extname url = "#{context.registers[:site].config['url']}/#{code_dir}/#{@file}" - source = "
#{file.basename}download
\n" + source = "
#{file.basename} download
\n" source += "{% highlight #{file_type} %}\n" + code + "\n{% endhighlight %}
" partial = Liquid::Template.parse(source) context.stack do -- cgit v1.2.1