Fix code formatting issues on homepage