-
Notifications
You must be signed in to change notification settings - Fork 17
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
Fixing #68 #74
Fixing #68 #74
Conversation
@@ -55,7 +55,7 @@ BlogIndexPage.propTypes = { | |||
} | |||
|
|||
export const pageQuery = graphql` | |||
query BlogIndex | |||
query BlogIndex($id: String!) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This cause the issue: we receive the wrong id frontmatter for this reason!
See also below...
@@ -76,7 +76,7 @@ export const pageQuery = graphql` | |||
} | |||
} | |||
} | |||
markdownRemark | |||
markdownRemark(id: { eq: $id }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...linked to the comment above.
Well done, this can be merged! |
This fix issue #68 as said in the issue the problems happens only for th blog index page. The problem came because a wrong GraphQL query. See more in the comment below.