Support .erb files and pass in config values as tpl var