This plugin can be used on: .haml files
Options :
- dataFile : path for a json file that is expected to contain all ivariables one may need to use in the template, this path is relative to the template folder:
Sample usage:
malta app/source/index.haml public -plugins=malta-haml[dataFile:\"params.json\"]
or in the .json file :
"app/source/index.haml" : "public -plugins=malta-haml[dataFile:\"params.json\"]"
or in a script :
var Malta = ;Maltastart {var s = this;consoleconsole;'plugin' in o && console;console;};