Made the footer constant to prevent re-rendering of the template