Page templates and collapse