diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-06-11 15:58:53 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-06-11 15:58:53 -0400 |
commit | 913fa105c4a6793e6522ca45b85d8f06c803c6b9 (patch) | |
tree | 8047baaf313f6a0966b03c8a26a8988cdfa3c172 /_plugins/haml.rb | |
parent | 814be44c151088dfb90d6a01281c9206151b0a88 (diff) | |
download | my_new_personal_website-913fa105c4a6793e6522ca45b85d8f06c803c6b9.tar.xz my_new_personal_website-913fa105c4a6793e6522ca45b85d8f06c803c6b9.zip |
1. Moved _plugins into themes/classic/_plugins
I think it's probably better to ship plugins with themes to make it
easier to update them.
2. Improved 'install' rake task and made nicer output
Diffstat (limited to '_plugins/haml.rb')
-rw-r--r-- | _plugins/haml.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/_plugins/haml.rb b/_plugins/haml.rb deleted file mode 100644 index 7e548dec..00000000 --- a/_plugins/haml.rb +++ /dev/null @@ -1,24 +0,0 @@ -module Jekyll - require 'haml' - class HamlConverter < Converter - safe true - priority :low - - def matches(ext) - ext =~ /haml/i - end - - def output_ext(ext) - ".html" - end - - def convert(content) - begin - engine = Haml::Engine.new(content) - engine.render - rescue StandardError => e - puts "!!! HAML Error: " + e.message - end - end - end -end |