Skip to content

Commit

Permalink
docs(gatsby-source-wordpress): Update README.md to make example code …
Browse files Browse the repository at this point in the history
…work (#12120)

createPage() in the example codes needs the slug returned from graphql.
  • Loading branch information
thien-hoang authored and sidharthachatterjee committed Mar 5, 2019
1 parent d616318 commit 8e16618
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/gatsby-source-wordpress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,7 @@ exports.createPages = async ({ graphql, actions }) => {
slug
status
template
slug
}
}
}
Expand All @@ -766,6 +767,7 @@ exports.createPages = async ({ graphql, actions }) => {
status
template
format
slug
}
}
}
Expand Down

0 comments on commit 8e16618

Please sign in to comment.