#pagination value not working

2 messages · Page 1 of 1 (latest)

bitter wingBOT
#

Hi @vestal jewel. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the knowledge sources provided, it seems that you are trying to implement pagination in Astro using the paginate function. However, there are some known issues with Astro's pagination feature that might be causing the problem you're experiencing.

For instance, there's a reported issue where pagination doesn't work when **page].astro or [...page.astro] are used in the same directory as [slug].astro ([source** (https://github.com/withastro/astro/issues/1438)). Another issue reported is that the getStaticPaths function no longer passes props, which might affect the pagination (source (https://github.com/withastro/astro/issues/2627)).

Also, there's a reported bug where the getStaticPaths' paginate function does not support other filenames (source (https://github.com/withastro/astro/issues/6000)).

Without more specific information about the error you're encountering, it's hard to provide a definitive solution. However, you might want to check if any of the issues mentioned above apply to your case. If they do, you might need to adjust your code accordingly or look for workarounds.

If none of these issues seem to apply to your case, it might be helpful to provide more information about the specific error message you're seeing or the exact behavior that's not working as expected.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: