Search code examples
gitgithubjekyllgithub-pagesjekyll-bootstrap

Jekyll on github pages showing error: 404 Index.html not found (window)?


I set up a static website using Jekyll in window 7 when i push my code to github and add gh-pages branch it says 404 not found error index.html not found. while i already added index.html in my root. github repo: github Repo link

https://github.com/jazib-bashir/Runjekyll

Github Page Link Github page Runjekyll

http://jazib-bashir.github.io/Runjekyll

I more thing: I use Rouge gem for highlighter not Pygments..


Solution

  • You're using rouge and it's still not supported by github pages (see dependency versions). This cause a build failure. You may receive a mail from Github about that.

    If you want Github to build your site, you have to use pygments instead.

    The other solution is to build locally and to push the _site content to github. See my workflow description here