Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "Creating Pages" example's variable reference #1430

Merged
merged 1 commit into from Jul 9, 2017

Conversation

benmccormick
Copy link
Contributor

The example was referencing path twice, but not including the full "path" to the variable, and using node.path or path rather than node.frontmatter.path. This declares a new path variable and uses it in both places

The example was referencing `path` twice, but not including the full "path" to the variable, and using `node.path` or `path` rather than `node.frontmatter.path`.  This declares a new `path` variable and uses it in both places
@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit 6e1dbb3

https://deploy-preview-1430--using-drupal.netlify.com

@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit 6e1dbb3

https://deploy-preview-1430--gatsbygram.netlify.com

@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit 6e1dbb3

https://deploy-preview-1430--gatsbyjs.netlify.com

@KyleAMathews
Copy link
Contributor

Thanks!

@KyleAMathews KyleAMathews merged commit 5c50702 into gatsbyjs:master Jul 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants