Style pagination links and fix index pages