Handle directories without pages.