From 251ef1e752569a4927ec46cbbdcc9e58b57caded Mon Sep 17 00:00:00 2001 From: Dustin Schau Date: Fri, 28 Sep 2018 17:59:06 -0500 Subject: [PATCH] fix: fix the parent node issue :tada: --- plugins/gatsby-transformer-home-example-code/gatsby-node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gatsby-transformer-home-example-code/gatsby-node.js b/plugins/gatsby-transformer-home-example-code/gatsby-node.js index 21a13eb11..5965a3ba7 100644 --- a/plugins/gatsby-transformer-home-example-code/gatsby-node.js +++ b/plugins/gatsby-transformer-home-example-code/gatsby-node.js @@ -21,7 +21,7 @@ exports.onCreateNode = async ({actions, node, loadNodeContent}) => { createNode({ id: name, children: [], - parent: 'EXAMPLES', + parent: node.id, code, mdAbsolutePath: absolutePath.replace(/\.js$/, '.md'), internal: {