Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Paginator creates extra empty page if all_posts.size % per_page == 0 #78
Pager.calculate_pages only needs one line that returns
I barely know Ruby, so please let me know if I made a mistake. Thanks.
Fixed this also in my fork with a lot of improvements to the scenarios and tests: http://github.com/krisb/jekyll/tree/fix_for_pagination_issue78