DEV Community

Discussion on: Build A Next.js Markdown Blog.

imranib profile image
Imran Irshad Author

in the above example, your MD file name and slug must be by the same name. because we are getting the file name from URL(query string) and that query string is your slug. with that query string, we are reading the file (by its name).
Your blog title can be whatever you want it to be.

therajuahammad profile image
Raju Ahammad

Can it possible to filter the MD file by blog title or id?