timlrx / tailwind-nextjs-starter-blog

This is a Next.js, Tailwind CSS blogging starter template. Comes out of the box configured with the latest technologies to make technical writing a breeze. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.
https://tailwind-nextjs-starter-blog.vercel.app/
MIT License
8.82k stars 2.05k forks source link

404 Error on Nested Route URL #1050

Open sreeji10 opened 6 days ago

sreeji10 commented 6 days ago

Describe the bug When accessing the nested route URL /blog/nested-route, a 404 error is displayed. The expected behavior is to show all blog posts associated with this nested route, similar to the /blog route.

To Reproduce

  1. Navigate to the following URL: https://tailwind-nextjs-starter-blog.vercel.app/blog/nested-route
  2. Observe that a 404 error page is displayed

Expected behavior The page should list all blog posts located under the /blog/nested-route directory, similar to how the /blog page displays all posts. Ex: Results should be shown similar to visiting /blog page : https://tailwind-nextjs-starter-blog.vercel.app/blog

Actual Behavior 404 error page is shown.

Screenshots image

timlrx commented 6 days ago

Hi, there's no intention on creating a page for all nested-route, but you can add a page that does that if that's your preference.