fix indentation issue in code and add basic footer template