Previous and next link update

Previous and next buttons not working because of the new /date/YYYY/M/ URL format.