renamed templates to pages