Refactoring style of index pages