site.baseurl issue
22 Sep 2017For some reason my pages’ {{ site.baseurl }}
macro was not properly replaced
with “/”. This broke all the CSS & links across the website.
The fix was to replace {{ site.baseurl }}
with:
{{ "/" | relative_url }}
in all the html code.
This worked on both the local and the published page.
Thanks to various github bug reports for the fix.