diff --git a/gatsby-node.js b/gatsby-node.js index 8990b16..853b19a 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -215,14 +215,6 @@ exports.createPages = ({ actions, graphql }) => { component: programTemplate, }) }) - .then(() => { - const indexTemplate = path.resolve(`./src/templates/front-page.js`) - - createPage({ - path: `/`, - component: indexTemplate, - }) - }) .then(() => { return graphql(` { diff --git a/src/templates/front-page.js b/src/pages/index.js similarity index 100% rename from src/templates/front-page.js rename to src/pages/index.js