make links relative for better offline viewing