-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
pagination.next_url returns wrong URL? #45
Comments
Your blog is not paging? what version of Grav are you running? Just tested on the demo and it's fine: |
When I click on the "next page" arrow on the bottom of the demo sites home (blog) page paginator, I hit the link And shouldn't that be |
Actually your right! I was hitting the numeric button. I'll take a look. Thanks |
Was a bug in the pagination plugin. The template file was just out of date with a method name change. Probably easier just to change the template file with this one: will replace your |
That was fast! You guys sure are right on top of it. Another "selling" point for Grav. Oh, yes, that fixed it. :) |
We would of fixed it quicker, but our GitHub notifications in HipChat stopped working for a bit, so we didn't notice this issue reported for nearly 20 minutes! |
Cross reference: |
I notice that the Grav blog at |
Fixed both Cheers! |
Both on my test site and the Grav blog site, it seems that
pagination.next_url
is returning the wrong URL. In both cases the lines:in
pagination.html.twig
will create a link back to/blog
, instead of/blog/page:2
, under the next page arrow.The text was updated successfully, but these errors were encountered: