Get prev/next page url from pelican instead of creating it manually

Pelican lets you change the path/url for pages when pagination is done. The following change integrates with this feature by getting page urls from pelican instead of building them manually.