adding meta title functionality to all templates