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

Bugfix: should add extension, not index name #219

Open Convincible opened 3 years ago

Convincible commented 3 years ago

I believe this is a typo in the code, you mean to add the default extension when the url doesn't include a . i.e. is extensionless.

This bug drove me mad for hours as the paginator refused to create clean files like /news/2.html, /news/3.html

MolotovCherry commented 2 years ago

Fixes #233 for me. I added it to the local gems and fixed it myself. Thanks for the PR