Skip to content

Starter template of a Next JS blog with Markdown, routes equal to [category]/[id] and ability to show articles related to specific category.

Notifications You must be signed in to change notification settings

codefuturelab/next-js-starter-blog-with-categories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a starter template for a Next.js blog.

Differences from Next.js tutorial blog are: -- Routes are category/id -- You can show and hide posts by category

To get started, simply create a folder under /posts. The name of this folder is the "category".

Inside the category folder, create relevant articles via Markdown.

Update /lib/posts.js with the new category.

And viola! You have a blog you can add/remove/edit categories and files with.

About

Starter template of a Next JS blog with Markdown, routes equal to [category]/[id] and ability to show articles related to specific category.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published