add baseurl to the rest of thte templates