I have rebuilt my Github Pages by following the instruction in Creating a GitHub Pages site with Jekyll of GitHub Pages documentation. There are only 23 steps.

At first, the doc is a bit confusing, for some of the optional steps are also numbered in sequence. After reading the steps carefully, my new Github Pages was built successfully.

The confusing steps:

Splitting a subfolder out into a new repository, which is not relavent to set up my site.


Resouces checked:

Programming language syntax highlighting in Jekyll

Markdown Cheat Sheet

Jekyll docs


shell commands used:

git remote add origin https://github.com/guanzhou-zhao/guanzhou-zhao.github.io.git
git branch -M main
git push -u origin main

$ jekyll new --skip-bundle .
# Creates a Jekyll site in the current directory
$ bundle exec jekyll server