Added function to test which template is being called in the footer