adding baseurl to all templates