create templates and include templates in html files