Changed 'templates' to 'pages'