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

Suggestion: customise orphans per pagination #130

Open
interDist opened this issue Jul 18, 2019 · 0 comments
Open

Suggestion: customise orphans per pagination #130

interDist opened this issue Jul 18, 2019 · 0 comments

Comments

@interDist
Copy link

The {% paginate %} template tag allows specifying the page size (#67) as well as the first page size, however, the number of orphans is global and cannot be modified for the specific paginated list. In some cases it is desirable to have a larger or smaller number of orphans for the different lists.

I suggest including an optional third parameter to the page size section of the tag, in a backwards-compatible manner:

{% paginate FIRST_PAGE,OTHER_PAGES,ORPHANS entries %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant