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
521 stars 288 forks source link

`sort_reverse` is actually `false` if omitted #230

Open neizod opened 2 years ago

neizod commented 2 years ago

In the document, it says that sort_reverse option will be set to true by default. However, it is actually set to false.

> gem list
jekyll-paginate-v2 (3.0.0)
wookdev commented 2 years ago

Can verify.

MolotovCherry commented 2 years ago

Verified here too. Had to manually set it to true

ryanwoldatwork commented 2 years ago

https://github.com/sverrirs/jekyll-paginate-v2/blob/a79e3cd187fc0a4b52da2b289ff17b9a4a4e668e/lib/jekyll-paginate-v2/generator/defaults.rb#L13