module Jekyll::Algolia::FileBrowser

def self.pagination_page?(file)

We don't want to index those
`jekyll-paginate` automatically creates pages to paginate through posts.

file - The Jekyll file

Public: Check if the page is a pagination page
def self.pagination_page?(file)
  Utils.match?(file.path, %r{page([0-9]*)/index\.html$})
end