My github pages blog powered by react.
This project was bootstrapped with Create React App.
- Run
npm install
- Write your article in
.md
format in 'root/posts' directory. And use YAML header to define article information. E.g:
---
title: hello world
date: 2018-1-13 17:40:00
category: Daily
---
And your blog content goes here...
- Run
npm run init
to init posts info - Run
npm run build
to build app - Set Master branch /docs folder as GitHub Pages source