add call to footer for all templates