Discrepancy between GitHub Pages and locally hosted Jekyll site

712 Views Asked by At

I'm encountering an odd style difference between my locally hosted Jekyll site and the live site, on GitHub Pages. More specifically, the site shows up with the correct format locally—but with garbled formatting on the live version. I've examined related questions, linked below, but none of them have provided a workable solution.

My repository is here: https://github.com/PlatosTwin/WUA/tree/gh-pages/docs.

And the live site is here: https://platostwin.github.io/WUA/.

What the live page looks like.

What the local page looks like.

I suspect my theme customizations are to blame but am not expert enough at Jekyll to know where to look or what might have gone wrong. Any ideas on how to get the local and live page in sync, with the correct styling?

Thanks in advance for any advice!

1

There are 1 best solutions below

0
On

Solved! It turns out that simply commenting out baseurl: "", in _config.yml does the trick. Thanks to the posts on this StackOverflow for the pointer.