Created next and previous pagination for published pages

This PR allows the ability to add Next and Previous links on pages