restyle index, ptero, and show pages