Skip to content

Commit

Permalink
chore: update OverviewTemplate to also use different field to match n…
Browse files Browse the repository at this point in the history
…ode path
  • Loading branch information
roadlittledawn committed May 4, 2021
1 parent adf4987 commit 614ba41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/templates/OverviewTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ OverviewTemplate.propTypes = {
};

export const pageQuery = graphql`
query($path: String!, $guidesFilter: String!) {
mdx(frontmatter: { path: { eq: $path } }) {
query($slug: String!, $guidesFilter: String!) {
mdx(fields: { slug: { eq: $slug } }) {
body
frontmatter {
path
Expand Down

0 comments on commit 614ba41

Please sign in to comment.