1 How to Add/Edit/Delete a Post to Your Blog
1.1 Where Your Posts Are
Go to the repository of your website on Github: https://github.com/lebaohantran/lebaohantran.github.io
I also put a link on the footer of your website pointing to the address above.
All your posts are in the folder __posts
in your repository
Click to open it and you can see all your posts here:
1.2 Add a Post
Here in the folder __posts
, click the button Add file → Create new file
Then you name your file in this format: YYYY-MM-DD-YourFilename.md
For example: 2022-11-22-My-First-Post.md
Notice that it needs to start with YYYY-MM-DD
and end with .md
After editing your file on this page (Please read Chapter 2 to see how to write it), click Commit new file button to submit.
🎉 Now you have a new post 😃 Wait for 1-2 mins and you will see it on your website!
1.3 Edit or Delete a Post
In the folder __posts
, click the post you want to edit.
Then click the Pen or Bin icon to Edit or Delete
Then scroll to the bottom and click Commit changes to submit.