This blog is based on GatsbyJS with a blog theme HeroBlog
-
A dependency module
gatsby-plugin-styled-jsx-postcss
is not maintained anymore. So please do not update to latest. The latest modules causes a hanging issues on Netlify. Please see the detail. gatsbyjs/gatsby#21885 -
Build time is quite long around serveral minutes after a post is published
-
Access to Netlify CMS https://tech.gaogao.asia/admin/
-
Authenticate with your github account You need to have an access previlege to this repository
-
Click a button 'New Post'
-
Click a button 'Publish now'
-
Install gatsby cli by
npm install -g gatsby-cli
-
git clone this repository
-
Add a post under a dir
content/posts
The folder name must be{yyyy}-{MM}-{dd}--{path}
e.g.content/posts/2020-08-03--test1
-
Create an
index.md
under the dir If you need a photos, please locate then under the post dir. -
Check on local website by
gatsby develop
withhttp://localhost:8000/
-
git commit
andgit push
to master branch