From 4dfc5c1d67ab50752a38a69949f546475d1b3e7e Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sun, 17 Jul 2011 20:28:02 -0400 Subject: scoped titlebar styling to figcaptions under figures with role="code", added an example for overriding a style in sass/custom/styles.scss --- .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 5569b4a3..905cee52 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