Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
feat: remove page creation logic for custom layout
Browse files Browse the repository at this point in the history
  • Loading branch information
aswanson-nr committed Jan 27, 2022
1 parent 34e733a commit d113d7a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,6 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
});
};

exports.onCreatePage = async ({ page, actions }) => {
//const { createPage, deletePage } = actions;
//const oldPage = { ...page };
//if (page.path === '/instant-observability/') {
//page.context.layout = 'QuickStartLayout';
//}
//deletePage(oldPage);
//createPage(page);
};

exports.onCreateNode = ({ node, actions }) => {
const { createNodeField } = actions;

Expand Down

0 comments on commit d113d7a

Please sign in to comment.