allow custom template for HTML