Added pages to navbar.

Fixed extra tags for empty element in categories array.