default to html/template with an option for text/template
simplify template by using banjo