Make the generated HTML work with relative paths

This makes it so the generated HTML can live in a directory, instead of
under the webroot
Use target _blank for links to github