Need help with next-netlify-blog-starter?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

cassidoo
187 Stars 54 Forks Other 32 Commits 5 Opened issues

Description

A lightweight markdown blog starter built with Next.js 11.1+ and Netlify

Services available

!
?

Need anything else?

Contributors list

# 36,195
HTML
nextjs
netlify
Lua
27 commits
# 16,880
Ruby
Clojure
bitbuck...
Terrafo...
1 commit

Next + Netlify Markdown Blog Starter

Netlify Status

This is a lightweight Next.js (v11.1+) Markdown Blog, configured so you can one-click install a blog and deploy it to Netlify!

Get started by clicking here (this will clone the repo and deploy the site):

Deploy to Netlify

Or, if you'd like to build it yourself, here's a tutorial blog post that should get you on the right track!

The nitty gritty

If you'd like to work with this project locally, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

If you'd like to write a new blog post, write it in Markdown in the

posts
directory.

Installation options

Option one: One-click deploy

Deploy to Netlify

Option two: Manual clone

  1. Clone this repo:
    git clone https://github.com/cassidoo/next-netlify-blog-starter
  2. Navigate to the directory and run
    npm run dev
  3. Make your changes
  4. Connect to Netlify manually (the
    netlify.toml
    file is the one you'll need to make sure stays intact to make sure the export is done and pointed to the right stuff)

Styling

Included are some basic styles with styled-jsx, which is included out of the box with Next.js. There's also built-in Sass support and CSS Module support, if you'd prefer to use those.

The font used is Inter.

Hero images

You may include an optional hero image in your posts. Put the images in

public/static/
, and then include in your blog .md file like so:
---
title: 'Post title'
author: 'Post author'
date: '2020-04-27'
hero_image: ../static/example.jpg
---

See

demo-post-1.md
for an example of this.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.