griddly-bear/griddly-bear — pull request #7 by mrkrstphr (2013-05-16 17:06:30+00:00)
Title: Pagination

Basic pagination draws links with up to 1 link before and one link after the current page:

< Previous [1] 2 3 Next >
< Previous 1 [2] 3 4 Next >
< Previous 1 2 [3] 4 5 Next >
< Previous 2 3 [4] 5 6 Next >
< Previous 3 4 [5] 6 Next >
< Previous 4 5 [6] Next >