Add digits to index pages, clean up HTML