Add appropriate `class` values for page type.