My personal blog system powered by Gatsby.
git clone
rm -rf ./git
npm install
Add a new post, run npm run new-post "post-name"
.
Add a new "collection", run npm run new-co "collection-name"
.
- 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