why my website is different on github pages from my local host? Github hosted site lost all styles. #61092
Replies: 4 comments 1 reply
-
There are a few reasons why your website might be different on GitHub Pages from your local host. Your Jekyll configuration. GitHub Pages uses Jekyll to generate static websites. The Jekyll configuration file, _config.yml, controls how Jekyll generates your website. If you have different Jekyll configuration files on your local host and GitHub Pages, your websites will be different. Compare your Jekyll configuration files. Make sure that the _config.yml files on your local host and GitHub Pages are the same. Here are some additional resources that you might find helpful: GitHub Pages documentation: https://docs.github.com/en/pages/ |
Beta Was this translation helpful? Give feedback.
-
Welcome to the GitHub Community, @yongtaoliu , we're happy you're here! You are more likely to get a useful response if you are posting your question in the applicable category. I've gone ahead and moved it for you. Good luck! |
Beta Was this translation helpful? Give feedback.
-
I am having a similar problem and I just want to verify I understood Ishigami's point correclty: |
Beta Was this translation helpful? Give feedback.
-
I think I have the same problem |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
why my website is different on github pages from my local host? Github hosted site lost all styles.
Beta Was this translation helpful? Give feedback.
All reactions