removing nav links for search and edit