lib/jekyll/generators/pagination.rb in jekyll-1.1.2 vs lib/jekyll/generators/pagination.rb in jekyll-1.2.0
- old
+ new
@@ -167,10 +167,10 @@
ensure_leading_slash(path)[1..-1]
end
# Initialize a new Pager.
#
- # config - The Hash configuration of the site.
+ # site - the Jekyll::Site object
# page - The Integer page number.
# all_posts - The Array of all the site's Posts.
# num_pages - The Integer number of pages or nil if you'd like the number
# of pages calculated.
def initialize(site, page, all_posts, num_pages = nil)