Fix baseurl in templates.