Setting up templates to generate the html