remove _pages, add resources page correctly