HTML for main page is generated by template.