aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/_plugins/haml.rb
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-11 11:17:15 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-11 11:17:15 -0400
commitee7b9dd9581a048cee17e89181cba94254033fb2 (patch)
tree42c7d47ebfcaf9faf68a302a39a4815ef2e8f5ec /.themes/classic/_plugins/haml.rb
parentd4139e394ec9f70acfcb35f25340bdb541d0d7ee (diff)
downloadmy_new_personal_website-ee7b9dd9581a048cee17e89181cba94254033fb2.tar.xz
my_new_personal_website-ee7b9dd9581a048cee17e89181cba94254033fb2.zip
Changed _plugins folder to plugins and updated rake tasks accordingly
Diffstat (limited to '.themes/classic/_plugins/haml.rb')
-rw-r--r--.themes/classic/_plugins/haml.rb24
1 files changed, 0 insertions, 24 deletions
diff --git a/.themes/classic/_plugins/haml.rb b/.themes/classic/_plugins/haml.rb
deleted file mode 100644
index 7e548dec..00000000
--- a/.themes/classic/_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