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.
Describe the bug Mdx title contain comma will cause 404
To Reproduce Steps to reproduce the behavior:
just add some comma in Mdx file title, like this:
between in 'v1' and 'v2', and will see this page 404.
Expected behavior correctly display, not 404
Screenshots![image](https://github.com/timlrx/tailwind-nextjs-starter-blog/assets/19268110/89bdde11-0cdb-4e49-8c5c-5bd1ff26455e)
System Info (if dev / build issue):
Browser Info (if display / formatting issue):
Additional context I add console.log in /app/blog/[...slug]/page.tsx function Page()
you'll see the same slug print twice. but i not familiar with js/ts.
I use
/
instead of,
to avoid this.