Update styles and logic for rendering index files for a section. Needed to do some filtering on pages etc...