Jekyll - Troubleshooting


all styles are gone

in Chrome Console:



<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde.css">

it looks like site.baseurl is always set to current url - that’s why assets are searched for in wrong location.


prefix all occurrences of site.baseurl with site.url (effectively, use absolute urls instead of relative ones).


<link rel="stylesheet" href="{{ site.url }}/{{ site.baseurl }}public/css/hyde.css">

Page build failed

in email from GitHub:

The page build failed for the `master` branch with the following error:
Page build failed. For more information, see ...


build Jekyll site manually to find out the reason:

$ blog
$ bundle exec jekyll build