✨ Start static then go server rendered when you need to ✨
A simple static blog powered by next.js.
This repo could be a good starting place for your simple Next.js powered static site. That said, there are other options out there that are more extensible, well maintained, and battle tested than this repo. Check them out: https://myles.github.io/awesome-static-generators/
yarn
config/index.js
to your liking.
yarn dev
.md
file in posts
.---
and the body of the post in markdown below:
---
title: Title
slug: slug
author: Your Name
date: 2017-6-10 15:00 PDT
tags:
- tags
- go here
---
## Post
Use markdown to _write_ your post
Here's some code:
```javascript
const a = 'thing';
```
yarn dev
to see your post live reload when saved.yarn export
to build your new site.Currently Next Static is not packaged an distributed on NPM. In order to receive updates you will need to do something like this:
git remote add upstream git@github.com:infiniteluke/next-static.git
git merge upstream master