sverrirs / jekyll-paginate-v2

Pagination Generator for Jekyll 3 (enhanced replacement for the old built-in jekyll-paginate gem) ⛺
https://rubygems.org/gems/jekyll-paginate-v2
MIT License
517 stars 285 forks source link

PaginationPage should inherit from PageWithoutAFile #257

Open 6twenty opened 6 months ago

6twenty commented 6 months ago

PaginationPage documents do not map to a single source file on disk, so they should use PageWithoutAFile so that they can be identified as such. PageWithoutAFile is just a very light abstraction class that inherits from Page, so no other changes are required other than renaming PaginationPage < Page to PaginationPage < PageWithoutAFile.