fix #623 Adding support to content when generating HtmlTemplate files

Now is possible to pass a specific content to the method in order to have it inside the template generated.