Github pages published but nothing shows up - github

I built a Jekyll site locally (Jekyll version 4.1.1) and the theme I'm using is Hydeout 4.1.0. The site runs fine locally. I've pushed it to my repository on github and it says the site is published, but the page loads to just a white space.

You just need to change theme: jekyll-theme-hydeout to remote_theme: fongandrew/hydeout and it is working.
I am creating you a pull request on your repo incorporating this change.
Reference:
https://stackoverflow.com/a/52103672/11474769
and usage section of this https://github.com/fongandrew/hydeout/

Related

Website not displaying properly after publishing to GitHub pages

I made changes to a forked repository and served the website successfully on my desktop. However, after publishing the repository to GitHub pages, the website is not displaying properly.
I followed the steps in the GitHub pages documentation.
https://github.com/aolayeye/aolayeye.github.io
Website not displaying properly:
Website on local:
This not a simple html pages website, Your app is not detected by git hub. So only your index.html file is displayed.
Git hub servers are bit slower, So may be your static files are not displayed.
Suggestions - Use vercel.com for fast deployment and it's also beginners friendly.

Why can't I host my project on github pages?

I have a simple weather app using react I've built and pushed to Github. Everything works when I run it locally but when I try to host it on Github pages, I get a 404 error.
https://caseycling.github.io/weather-app/
I'm not sure what I did wrong as I took the same steps as with every other project I've succesfully deployed: went to settings and under Github pages, I chose master branch as the source. Initially, it was just displaying the readme but now it only displays a 404 error message. When I've googled this issue, some people are saying I need to move my folders to the root of the directory but I'm not sure how to do that exactly.
Here is the repo:
https://github.com/caseycling/weather-app/
My understanding is that in order to run a react app in github pages you need to setup the gh-pages plugin and have a special 'deploy' build script in package.json
https://itnext.io/so-you-want-to-host-your-single-age-react-app-on-github-pages-a826ab01e48
https://codeburst.io/deploy-react-to-github-pages-to-create-an-amazing-website-42d8b09cd4d
https://medium.com/the-andela-way/how-to-deploy-your-react-application-to-github-pages-in-less-than-5-minutes-8c5f665a2d2a
There are also apparently certain restrictions in what you can do with the router in github pages websites, but for a simple app it should be sufficient.

How to make changes to a site already hosted on GitHub Pages?

I hosted a site in Github pages by going to setting of my repo. But I wanna change the Title tag in HTML. I tried Pushing from my local machine, but the changes are not updated in the githubpages site.

Force github pages to use _site folder

I have a github pages website. I need to use the jekyll-pagniation-v2 gem, but github pages only support v1. Thus I'm compiling the site locally and pusing up the entire _site directory to my github repo.
My understanding is that it should use what I've pushed in the _site dir, which looks fine locally. When I view the live site the index page doesn't contain any of the posts. As if it tried to rebuild the site and failed to find any posts because it's using the wrong pagination version.
How can I ensure github pages is not rebuulding the site and is using the version of the site I pushed to _site
The issue was that it wasn't actually pushing changes to the right branch and i'm an idiot.

jekyll and github - how to update the blog post?

Good day.
Could you help me with a little problem I am experiencing.
I have a jekyll blog on the github. The problem is after I updated my old post, committed and pushed it, the blog post doesn't show any changes, but I see that the commit has been pushed successfully.
If I run jekyll --server locally, it shows updated blog post and it doesn't report any errors.
I have no jekyll plugins installed.
What am I doing wrong or misunderstanding? Thanks a lot.
Added by Nawaz:
I'm facing exactly same problem. My I pushed added one markdown post and few css, and modified layouts and includes, then I pushed them to github. It is done successfully. My github is showing all the changes in the repository, but the github blog (i.e the generated html posts out of markdown) are still same. No change to them at all. It is showing some posts which doesn't even exist in the repository. But when I do jekyll --server locally, then every update is being shown on my (local) blog hosted at http://localhost:4000.
Please help me!
If your Jekyll site is not rendering properly after you push it to GitHub, it's useful to run Jekyll locally so you can see any parsing errors. In order to do this, you'll want to use the same version that we use.
GitHub's Pages servers currently use Jekyll 0.11.0 with Liquid 2.2.2, and run it using this command:
$ jekyll --pygments --safe
More info
I'm now trying to solve the problems with my pygments highlighting (works locally, doesn't show on github at all, even though I'm receiving mails about succesful build). Findings so far:
Make sure that youre repository' default branch is 'master' (go to your repository Admin page).
Put your Jekyll source files in some other branch, and put the _site content to your master branch. There will be no _config.yml, no YAML front matter so github will render your stuff as is, and you would be building it locally on that other branch. This actually worked for me. It requires some manual labour when moving _site from that other branch to your master, but I'm fine with that - at least I do not have to rely on github build process which seems to be a bit buggy, plus, I can have whatever plugins I wish.
When ever you generate your jekyll site locally for testing, always run jekyll --no-auto --server. This would display if there were any errors encountered during the generation of your site. Also, before generating your site delete _site directory and then run the command as described above.
Let me know if you see any errors as such. We can debug further