aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-12 08:49:43 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-12 08:49:43 -0400
commit67c5edb2f6eb8747a659109fe160b4c54f6e2917 (patch)
treea0abc21732edbbb725ec293e3bc5e0c0b318d0c4 /.themes/classic
parent983dd84a4b964d45a8ed767a905b222b46fdefd8 (diff)
downloadmy_new_personal_website-67c5edb2f6eb8747a659109fe160b4c54f6e2917.tar.xz
my_new_personal_website-67c5edb2f6eb8747a659109fe160b4c54f6e2917.zip
added a space in code figcaption title to make it play nicer with RSS or other no CSS views
Diffstat (limited to '.themes/classic')
-rw-r--r--.themes/classic/plugins/include_code.rb2
1 files changed, 1 insertions, 1 deletions
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 = "<figure><figcaption><span>#{file.basename}</span><a href='#{url}'>download</a></figcaption>\n"
+ source = "<figure><figcaption><span>#{file.basename}</span> <a href='#{url}'>download</a></figcaption>\n"
source += "{% highlight #{file_type} %}\n" + code + "\n{% endhighlight %}</figure>"
partial = Liquid::Template.parse(source)
context.stack do