Add class to each page