diff --git a/gatsby-node.js b/gatsby-node.js index 780394c9..78239374 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -10,6 +10,7 @@ exports.createPages = async ({ actions, graphql, reporter }) => { edges { node { fields { + fileRelativePath slug } id @@ -38,6 +39,7 @@ exports.createPages = async ({ actions, graphql, reporter }) => { context: { id, layout: 'QuickStartLayout', + fileRelativePath, }, }); });