A Haml theme engine for Drupal.
The engine is based on original work of Kyle Cunningham.
Peroxide project page on github: https://github.com/codeincarnate/peroxide
The goal is now limited to only providing Haml template support to Drupal.
Requires a copy of MtHaml Haml parser to be placed in sites/all/libraries or sites/[domain]/libraries of your Drupal installation.
MtHaml project page on github: https://github.com/arnaud-lb/MtHaml
The engine needs to first be placed in the sites/all/themes/engine or the sites/[domain] variant folder.
Then you need to declare that you'll be using oxide as your theme engine in your theme info file.
name = My Oxide based theme
description = An Haml powered theme
package = Core
version = VERSION
core = 7.x
engine = oxide
You're all set to use haml template files for your new theme! Happy theming!
The engine saves rendered parsed haml files in the sites files folder in order to speed up rendering.
These can be located under _sites/default/files/oxide/[theme name]/
A small drush command - drush oxide-clear-cache (occ) - has been defined for emptying that cache folder whenever you rename or move a template file when developing. You can also safely remove that folder manualy and the engine will recreate it when required.