diff options
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 |