Fix #151 Link is now absolute again

This logic really needs a refactoring.