-
Notifications
You must be signed in to change notification settings - Fork 1
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 #5
Comments
Hi @jamestagal, By default pagers are set to So you need to change this line: https://github.com/jamestagal/plenti-educenter/blob/main/layouts/content/blog.svelte#L7 To something like: $: currentPage = content.pager ? content.pager : 1; Let me know if that works! Thanks! |
Hi @jimafisk Ben |
Hi @jamestagal, I just pushed a change that should fix this: 331f2dc The problem was the pagination links are all using relative links: You could have changed all the relative links (e.g. |
Hi @jimafisk thanks again Jim. |
Hi @jimafisk
I've just finished putting the pagination together for this theme and followed along with your tutorial but I am seeing a couple of problems. All the code seems to be fine and I am not getting any errors. However here are the issues:
blog
you can see the pagination ui appear quickly at the top of the page then it disappears. So it does not remain visible on the page.postsPerPage
to 4 but I still see 6 on the blog page.Could you please take a look for me when you can. 😄
Best regards,
Ben
The text was updated successfully, but these errors were encountered: