Applied layout to the homepage.