Adding main page template