adding footer to templates