added footer to all templates