Gatsby-blog

personal blog system powered by Gatsby.

Usage

installgit clone  rm -rf ./git npm install
add post

Add a new post, run npm run new-post "post-name".

Add a new "collection", run npm run new-co "collection-name".

customization
  • the whole layout : src/components/layout.js
  • post list page:src/templates/blog-list.js
  • collection list page: src/templates/collection.js
  • post detail page: src/templates/post.js

GitHub