add footer to all templates