Corrected dynamic footer template