PhileCMS/Phile — pull request #91 by james2doyle (2014-05-04 20:56:14+00:00)
Title: Bugfix/next prev page

OK. So this was a pain. I managed to get a working version down. This is quiet hacky.

Here is the pseudo-code version.

* get all the pages as an array (while obeying the meta sorting order)
* find the current pages index in the pages array
* return pages at the current pages index but +/- 1

I will need @NeoBlack to check this over incase I am being dumb.