/static-blog

A static blog powered by react

Primary LanguageJavaScriptMIT LicenseMIT

My github pages blog powered by react.

This project was bootstrapped with Create React App.

Usage

  1. Run npm install
  2. 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...
  1. Run npm run init to init posts info
  2. Run npm run build to build app
  3. Set Master branch /docs folder as GitHub Pages source