Add class to main title for each page template