A simple blog starter with Next.js.
Photos by Unsplash. Contents by Wikipedia.
Clone the repo, navigate to directory, install dependencies and run dev server with yarn (http://localhost:3000)
On terminal run
git clone git@github.com:mlabate/nextjs-blog-kickstarter.git
cd nextjs-blog-kickstarter
yarn install
yarn dev
- Site-level configuration is stored in
data/config.json
. - Global styles live in the
Meta
component. posts/
contains all your markdown blog posts.- The blog pages are dynamically generated with a
slug
parameter. See the template inpages/blog/[slug].js
.