-
I create a blog by jekyll. However, the git clone --branch=gh-pages https://github.com/Freed-Wu/Freed-Wu.github.io _site
python -m http.server -d _site xdg-open http://localhost:8000/2023/ The web page exists. However, in github, xdg-open https://Freed-Wu.github.io/2023/ The web page doesn't exist.
What happened? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The reason behind this is that you have set up GitHub Pages settings incorrectly. |
Beta Was this translation helpful? Give feedback.
The reason behind this is that you have set up GitHub Pages settings incorrectly.
You have correctly set up GitHub Actions to build your site with Jekyll 4 and upload it to the
gh-pages
branch. But unfortunately because of incorrect GitHub settings, GitHub rebuilds the site using Jekyll 3.9 (classic GitHub Pages) and deploys that to your domain.This can be confirmed by
View Page Source
of your homepage. You will see<meta name="generator" content="Jekyll v3.9.3" />