diff --git a/plugins/gatsby-plugin-embed-pages/gatsby-node.js b/plugins/gatsby-plugin-embed-pages/gatsby-node.js index 3de2fe741..daf55f96d 100644 --- a/plugins/gatsby-plugin-embed-pages/gatsby-node.js +++ b/plugins/gatsby-plugin-embed-pages/gatsby-node.js @@ -28,7 +28,7 @@ exports.createPages = async ({ actions, graphql, reporter }) => { body, } = node; const nodePath = frontmatter.path || slug; - const pagePath = path.join(nodePath, 'embed'); + const pagePath = path.join(nodePath, 'embed', '/'); const contentSourcePath = nodePath; createPage({