replace old footer content of the pages excluding index page