made links relative to current url

close #1;