Improve formatting of acptemplates footer and index