Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to deactivate first/last paginator buttons on first/last page #1161

Closed
McPringle opened this issue May 24, 2015 · 4 comments
Closed

Comments

@McPringle
Copy link

On the first page, the "go to previous page" button is disabled but the "go to first page" button is enabled. This button should be disabled, too. Same thing on the last page: the "go to next page" button is disabled, but the "go to last page" button is enabled (should be disabled, too).

Hugo Static Site Generator v0.13 BuildDate: 2015-03-10T03:34:47+01:00

@bep bep changed the title Internal pagination template does not deactivate first/last page buttons on first/last page Add option to deactivate first/last paginator buttons on first/last page May 24, 2015
@bep
Copy link
Member

bep commented May 24, 2015

Could not should

  • For next there are no way to go after the last, similar for prev (one could argue that one could rotate the paginator)
  • first and last are static and fixed links -- and valid from any page. One could argue that they have little value when linking to the same page (as in a reload) -- but I like that symmetry and so that is how it is designed.

@McPringle
Copy link
Author

Sorry, @bep, but I think you wrote a technical reason, not a usability reason. From the users point of view, where is the difference if you can't go to the next page but you could go to the last page if you are already on the last page? In my opinion this is bad usability. But if you add an option to change this behavior, I'm happy! :-) And thanks a lot to take a look at this!

@bep
Copy link
Member

bep commented Jul 1, 2017

This issue has been automatically marked as stale because it has not been commented on for at least six months.

The resources of the Hugo team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.

This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants