fixes the breakage introduced in jekyll 1.0

Looks like it silently assumes that site.baseurl is "/", which leads to
double-slashing paths to resources and breaking everything.
Merge pull request #201 from xeno-by/master

fixes the breakage introduced in jekyll 1.0