some changes on showing the link for pages in footer