Aplied layout to the index page