_plugins/language_generator.rb
# Public: Find the Jekyll::Page(s) which will act as the pager templates
#
# site - the Jekyll::Site object
#
# Returns the Jekyll::Page objects which will act as the pager templates
# Original method template_page is found in jekyll-paginate/pagination.rb
# Has been modified to paginate {language}/index.html
Find the Jekyll::Page(s) which will act as the pager templates
site - the Jekyll::Site object

Returns the Jekyll::Page objects which will act as the pager templates
Original method template_page is found in jekyll-paginate/pagination.rb
Has been modified to paginate {language}/index.html
Find the Jekyll :: Page ( s ) which will act as the pager templates site - the Jekyll :: Site object Returns the Jekyll :: Page objects which will act as the pager templates Original method template_page is found in jekyll - paginate / pagination . rb Has been modified to paginate { language } / index . html
def template_pages(site)
        site.pages.dup.select do |page|
          Pager.pagination_candidate?(site.config, page)
        end.sort do |one, two|
          two.path.size <=> one.path.size
        end.slice(0, 2)
      end
def template_pages ( site ) site . pages . dup . select do | page | Pager . pagination_candidate? ( site . config , page ) end . sort do | one , two | two . path . size <=> one . path . size end . slice ( 0 , 2 ) end
Public: Find the Jekyll::Page(s) which will act as the pager templates
site - the Jekyll::Site object
Public : Find the Jekyll :: Page ( s ) which will act as the pager templates site - the Jekyll :: Site object
site
<not_specific>