fixed index category classes for galleries and blogposts