Changed main page template