Skip to content

Conversation

@timlrx
Copy link
Owner

@timlrx timlrx commented Jan 12, 2025

Fix #1090 and modify the logic of #1083 to use generateStaticParams instead of page params. This would allow static builds and extends the pagination feature to the tag routes.

Also redirected to a notFound() route when a paginated route exceeds the range of pages.

@vercel
Copy link

vercel bot commented Jan 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwind-nextjs-starter-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 12, 2025 2:29pm

@timlrx timlrx changed the title Create static paginated pages static paginated tag pages Jan 12, 2025
@timlrx timlrx merged commit 94e87c9 into main Jan 12, 2025
2 checks passed
bhiwagade-rahul pushed a commit to bhiwagade-rahul/tailwind-nextjs-starter-blog that referenced this pull request Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Static build breaking

2 participants