add `baseurl` variable to links