Create mainpage_template.tpl