For example go to https://stackoverflow.com/questions/tagged/ruby-2.1?tab=newest&pagesize=30, you can see what I mean. (or check the screenshot below)
I know normally it is not a big deal, but Stack Overflow is not a normal website.
Update:
- For pages 1, 2, 3 and 4 the issue is it shows an ellipsis (...) instead of #6.
- For pages 5, 6 and 7, it shows an ellipsis instead of #2.
What I'm saying is: There are 7 slots and 7 pages, so no need to use an ellipsis.
if pages <= 7
or something similar