Skip to content

differenet behaviours between localhost and github #9341

Answered by ashmaroli
Freed-Wu asked this question in Q&A
Discussion options

You must be logged in to vote

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" />

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Freed-Wu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants