Update templates to build links to url with subdomain