made the appearance of the nav previous and next and archive dependent on the number of pages. If there is less than one page, then no navigation shows up.