If base path is set create a link