add code of news to index page