rebecamurillo / astro-blog-i18n-starter

Astro built starter project for a static website and blog witth multilingual i18n configuration.
MIT License
27 stars 8 forks source link

Suggestion: Improve Pagination by Using URL Parameters #6

Open Macktireh opened 1 month ago

Macktireh commented 1 month ago

Hello,

Thank you so much for your Astro blog starter. It’s really simple and amazing!

I noticed that the pagination is handled with JavaScript instead of using URL parameters. For instance, if I’m on a different page and refresh the site, I lose my position and get redirected back to page 1. Additionally, I can’t share a specific page, like page 2, with another user. However, by using URL parameters, such as https://site/en/blog?page=2, it would allow retaining the pagination state and make it shareable.

Once again, I’m really grateful for your work.

rebecamurillo commented 1 month ago

Hello @Macktireh I'm glad you found this helpful :)

Thanks for your proposal. I will schedule the implementation of this feature.

Rebeca