Update pagination classes moving into a module

This commit is contained in:
Tom Bell 2013-01-19 23:42:40 +00:00
parent 663a1321d2
commit 10d980b6e1
1 changed files with 47 additions and 47 deletions

View File

@ -1,5 +1,5 @@
module Jekyll
module Generators
class Pagination < Generator
# This generator is safe from arbitrary code execution.
safe true
@ -51,6 +51,7 @@ module Jekyll
format.sub(':num', num_page.to_s)
end
end
end
class Pager
attr_reader :page, :per_page, :posts, :total_posts, :total_pages, :previous_page, :next_page
@ -115,5 +116,4 @@ module Jekyll
}
end
end
end