madskristensen/MiniBlog — pull request #48 by anthonychu (2014-01-15 07:31:21+00:00)
Title: Add option for Blog.GetPosts() to retrieve all posts; fix paging

Currently there is a bug where the "Older" link does not display when there are more pages. In order for paging logic to function properly, it needs the total number of all posts (or all posts in category).

Modified the postsPerPage parameter in Blog.GetPosts() to be optional and return all posts if not supplied. Updated the pagers on sample themes hide/show the Older link correctly.

Thanks!