Generates html files on basis of Smarty templates on the fly