ralsina/nikola — pull request #535 by arusahni (2013-07-28 21:25:05+00:00)
Title: Fixing two issues with index page indices.

Issue 1: if Nikola indexes overflow from one page to two pages (i.e. `num_pages = 2`), the `nextlink`
value is not set.

Issue 2: if Nikola is on the the `i == num_pages - 1` index page, it will not populate `prevlink`.
Since `prevlink` would be the `index.html` page, it needs it's own logic branch.