How to fix Jekyll Baseurl problems

183 Views Asked by At

I'm making a theme for Jekyll, and I've hit a problem where the site only serves to localhost:4000, and when I add a baseurl, it ignores it, although the command line output says it is serving it to localhost:4000/baseurl/. The theme is on GitHub here.

Any help much appreciated!

2

There are 2 best solutions below

0
On BEST ANSWER
0
On

Should be fixed when you use {{ page.url | prepend: site.baseurl }}.