class Octopress::Paginate::SiteHook
Public Instance Methods
post_read(site)
click to toggle source
# File lib/octopress-paginate/hooks.rb, line 6 def post_read(site) site.pages.select {|p| p.data['paginate'] }.each do |page| Octopress::Paginate.paginate(page) end end