footer moved frm main.html to template