class Jekyll::Paginate::Pager

Disable pagination from jekyll-paginate

This plugin will create pages that contain a list of all items to paginate. Those pages won't contain any interesting data to be indexed (as it will be duplicated content of the real pages), but will still take time to generate.

By monkey-patching the plugin, we force it to be disabled github.com/jekyll/jekyll-paginate/blob/master/lib/jekyll-paginate/pager.rb#L22

Public Class Methods

pagination_enabled?(_site) click to toggle source
# File lib/jekyll/algolia/overwrites/jekyll-paginate-pager.rb, line 15
def self.pagination_enabled?(_site)
  false
end