wycats / rake-pipeline-web-filters

MIT License
116 stars 36 forks source link

Adds a HAML filter #63

Closed curthasselschwert closed 10 years ago

curthasselschwert commented 11 years ago

This adds a simple HAML filter with the ability to pass options down to the HAML compiler. I needed it for another project and thought it might be useful to other people.

ahx commented 11 years ago

You can use the included Web::Filters::TiltFilter to compile Haml. Or just use filter haml. Don't forget to require 'haml' beforehand.

curthasselschwert commented 11 years ago

Great! Thank you, I wasn't aware of that.