Fix relative links not working correctly