update the relative resource loading as workaround to https://github.com/jekyll/jekyll/issues/332