Skip to content

Commit

Permalink
Add 'page.layout' param to 'createPage' docs
Browse files Browse the repository at this point in the history
  • Loading branch information
szimek committed Jan 26, 2018
1 parent 287de36 commit 03e0afb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/gatsby/src/redux/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ const pascalCase = _.flow(_.camelCase, _.upperFirst)
* @param {Object} page a page object
* @param {string} page.path Any valid URL. Must start with a forward slash
* @param {string} page.component The absolute path to the component for this page
* @param {string} page.layout The name of the layout for this page. By default
* `'index'` layout is used
* @param {Object} page.context Context data for this page. Passed as props
* to the component `this.props.pathContext` as well as to the graphql query
* as graphql arguments.
Expand Down

0 comments on commit 03e0afb

Please sign in to comment.