Closed Kishi85 closed 6 years ago
Is "pager" really the correct name? I think "paginator" would be better, see e.g. https://jekyllrb.com/docs/pagination/. Apart from that this looks good.
Is "pager" really the correct name? I think "paginator" would be better, see e.g. https://jekyllrb.com/docs/pagination/. Apart from that this looks good.
I was assuming the naming scheme applied by Bootstrap for pagination and pager which differences both terms the following way:
Following this definition "pager" seems to be the correct choice.
I've rebased the pull request and changed the flag parsing (the if/else was an oversight on my side and is now corrected). I've also change the flag name to 'nopagingcontrols' to avoid any ambiguity and describe directly what the flag does.
This is useful if you just want to show the top n posts of a blog on a page.
Example: This is used on www.binary-kitchen.de to just give a top 2 post overview of the kitchen log on the start page without giving the user the option to display older posts as those are available on a separate page.