Search code examples
rubygitjekyllgithub-pages

Github pages w/ Jekyll 404 on specific page


I am currently having an issue with Github Pages

I guess it doesn't hurt to use the actual live example

The corresponding repo is https://github.com/ScottA38/ScottA38.github.io

I made some styling changes (maybe some JS changes I don't remember) ages ago when I was actively working on the content, and somehow ever since the 'projects' page has been 404 when I try and click through to it from the menu.

I am using Jekyll theme Jam which is some obscure obsolete theme, but I don't see it being a problem really

The strangest part is that if I load the site locally with bundle exec jekyll serve then this page appears perfectly at localhost:4000/projects, just not on the live site

If I put https://scotta38.github.io/projects.html (live site) it also appears perfectly, just not at https://scotta38.github.io/projects like I want

I have seen some suggestions about GH servers caching an old version or something like this but I don't really understand and I need some guidance


Solution

  • "About" page works and you have a permalink there, but nothing for projects.
    Probably adding

    permalink: /projects/
    

    will fix the issue.