Skip to content

Commit

Permalink
fix: create embed pages with trailing slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
roadlittledawn committed May 11, 2021
1 parent 66f048a commit 3fd3230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gatsby-plugin-embed-pages/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 3fd3230

Please sign in to comment.