-
checkout raw sas repository (Gatsby site) and start developing
Navigate into your new siteβs directory and start it up.
cd rawsas/ npm install gatsby develop
-
Open the source code and start editing!
Your site is now running at
http://localhost:8000
!
Create/update blog markdown file in posts
folder.
A quick look at the blogs markdown file and images folder.
.
βββ contents
βββ images
βββ posts
βββ resources
-
/contents
: This directory contains all of posts' markdown files as well as images and other attachments. -
/contents/images
: This directory will contain all of the image files and link in markdown file can be../images/<filename>
. -
/contents/posts
: This directory will contain all of the markdown files and front-matter should havetitle
,date
,path
andtags
(may have it empty). -
/contents/resources
: This directory will contain all of the attachments(pdf) and link in markdown file can be../resources/<filename>
.
After making markdown file changes/creating new ones, make commit and push to master branch, Github Action will re-publish Github Pages.