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 authored and tabathadelane committed Jan 28, 2022
1 parent 98de603 commit 5d4acc6
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 5d4acc6

Please sign in to comment.