Uppdating sidebar to work with subfolder sites

Resolves the problem with "sites" hosted in subfolders without there own domain (default for projects on github) get brokens links in the sidebar. example of working site http://www.mumma.nu/jekyllTalk
this patch uses the same solution that was implemented for css links in the head file.