-
Notifications
You must be signed in to change notification settings - Fork 970
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
No paginator
in get_section()
#2473
Comments
|
@Keats oh snap, that was my last idea. There are still sitemaps, but I have a grim feeling. All the work on the dynamic PWA cache just got cancelled because there's nowhere to pull pager permalinks from. |
Once we have tera2 it should be possible to revamp all the functions to get the paginator but it's far away |
@Keats what about something like |
While there is no built-in solution, one could manually extract pagination settings and calculate required page numbers: charlesrocket/halve-z/pull/27 |
Hello, In order to set up a 'series' feature in a theme, I would need to know if pagination is reversed or not so that I can align series' pages indexes accordingly. Reversing the order of the pages listed in the section when Even if adding the entire paginator seems not possible, do you think it would be possible to just add zola/components/content/src/ser.rs Lines 206 to 229 in 051beca
If yes, I can try to tackle it and propose a PR in the weeks to come. Thanks for your help and support. |
That would be fine yes |
Thanks for your feedback. This is my first contribution and I was not able to figure out which branch I should push this modification to ( Thanks in advance for your help and support. |
|
I just created a small PR following our discussion. |
There is no way to get paginator's page (
page/13
, etc) permalink due to standalone variable (#691).Trying to work around this but
get_url()
refuses to error:foo
should fail in this case since the test site has only 10 posts with the section's pagination set to2
.The text was updated successfully, but these errors were encountered: